using unstable with bigbox
This commit is contained in:
1 parent
9831885daa
commit
7c6961781d
2 files changed
+9
-9
No files matched your search
@@ -42,6 +42,11 @@
|
||||
home-manager = home-manager;
|
||||
nix-darwin = nix-darwin;
|
||||
});
|
||||
unstableLib = (import modules/lib.nix {
|
||||
nixpkgs = unstable;
|
||||
home-manager = home-manager;
|
||||
nix-darwin = nix-darwin;
|
||||
});
|
||||
eachSystem = nixpkgs.lib.genAttrs (import systems);
|
||||
unstablePkgs = eachSystem (system:
|
||||
import unstable {
|
||||
@@ -113,7 +118,7 @@
|
||||
|
||||
# NIXOS Homelab - BIGBOX1
|
||||
# -------------
|
||||
nixosConfigurations."hl-bigbox1" = lib.makeNixOsModule {
|
||||
nixosConfigurations."hl-bigbox1" = unstableLib.makeNixOsModule {
|
||||
system = "x86_64-linux";
|
||||
user = user;
|
||||
systemStateVersion = "24.05";
|
||||
@@ -131,10 +136,7 @@
|
||||
hardware = { enable = true; };
|
||||
enablePrometheusExporters = true;
|
||||
};
|
||||
configuration = (import ./hosts/hl-bigbox1.nix {
|
||||
user = user;
|
||||
unstable = unstablePkgs.x86_64-linux;
|
||||
});
|
||||
configuration = (import ./hosts/hl-bigbox1.nix { user = user; });
|
||||
};
|
||||
|
||||
# NIXOS Homelab - minipc1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ user, unstable }:
|
||||
{ user }:
|
||||
{ pkgs, lib, config, ... }: {
|
||||
imports = [ ./hl-bigbox1.hardware-configuration.nix ];
|
||||
# firmware updater
|
||||
@@ -12,8 +12,7 @@
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
acceleration = "cuda";
|
||||
listenAddress = "0.0.0.0:11434";
|
||||
package = unstable.ollama;
|
||||
host = "0.0.0.0";
|
||||
};
|
||||
services.wyoming = {
|
||||
openwakeword.enable = true;
|
||||
@@ -33,7 +32,6 @@
|
||||
# Nvidia Settings
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
services.xserver.enable = true;
|
||||
# nixpkgs.config.cudaSupport = true;
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = false;
|
||||
|
||||
Reference in new issue
Block a user