sisko: minor changes

This commit is contained in:
2025-08-03 17:51:59 +02:00
parent 5701615d29
commit 74b7feb043
3 changed files with 11 additions and 7 deletions

View File

@@ -51,7 +51,7 @@
in
{
nixosConfigurations = let
normalSys = name: config: nixpkgs.lib.nixosSystem {
normalSys = name: hostConfig: nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit inputs;
@@ -59,7 +59,7 @@
modules = [
({ config, pkgs, ... }: {
# Make "pkgs.unstable" etc. available
nixpkgs.overlays = [ pkgs-overlay ] ++ config.overlays or [ ];
nixpkgs.overlays = [ pkgs-overlay ] ++ hostConfig.overlays or [ ];
})
./hosts/${name}/configuration.nix
@@ -69,9 +69,9 @@
home-manager.useUserPackages = true;
home-manager.users = {
"felixalb" = import ./hosts/${name}/home.nix;
} // config.home-manager-users or { };
} // hostConfig.home-manager-users or { };
}
] ++ config.modules or [ ];
] ++ hostConfig.modules or [ ];
};
in {
@@ -107,8 +107,7 @@
morn = normalSys "morn" { };
# Home desktop
sisko = normalSys "sisko" {
};
sisko = normalSys "sisko" { };
};
# Daily driver macbook