Common bigbox

This commit is contained in:
Ari Sosnovsky committed 2024-07-26 17:29:07 -04:00
1 parent 060f0ff85d
commit 3e6f43894a
1 file changed
+4 -18
+4 -18
View File
@@ -65,7 +65,7 @@
system = system; system = system;
config = { allowUnfree = true; }; config = { allowUnfree = true; };
}); });
makeHLService = lib.makeNixOsModuleMaker { hlCommonSettings = {
system = "x86_64-linux"; system = "x86_64-linux";
user = user; user = user;
localNixCaches = localNixCaches; localNixCaches = localNixCaches;
@@ -88,6 +88,7 @@
}; };
}; };
}; };
makeHLService = lib.makeNixOsModuleMaker hlCommonSettings;
in in
{ {
lib = lib; lib = lib;
@@ -159,10 +160,7 @@
# NIXOS Homelab - BIGBOX1 # NIXOS Homelab - BIGBOX1
# ------------- # -------------
nixosConfigurations."hl-bigbox1" = unstableLib.makeNixOsModule { nixosConfigurations."hl-bigbox1" = unstableLib.makeNixOsModule (hlCommonSettings // {
system = "x86_64-linux";
user = user;
localNixCaches = localNixCaches;
systemStateVersion = "24.05"; systemStateVersion = "24.05";
hostName = "hl-bigbox1"; hostName = "hl-bigbox1";
home-manager = { home-manager = {
@@ -170,20 +168,8 @@
enableDevelopmentKit = false; enableDevelopmentKit = false;
version = "24.11"; version = "24.11";
}; };
enableNetworkDrives = true;
os = {
enable = true;
firewall = { enable = false; };
enableFonts = true;
hardware = { enable = false; };
enablePrometheusExporters = true;
containers = {
runtime = "docker";
localDockerRegistries = localDockerRegistries;
};
};
configuration = (import ./hosts/hl-bigbox1.nix { user = user; }); configuration = (import ./hosts/hl-bigbox1.nix { user = user; });
}; });
# NIXOS Homelab - minipc1 # NIXOS Homelab - minipc1
# ------------- # -------------