Second test

This commit is contained in:
KoenDR06 2025-02-27 22:51:50 +01:00
parent 1d0209fac3
commit bb0e1d7591
4 changed files with 14 additions and 12 deletions

18
flake.lock generated
View file

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1739757849,
"narHash": "sha256-Gs076ot1YuAAsYVcyidLKUMIc4ooOaRGO0PqTY7sBzA=",
"lastModified": 1736373539,
"narHash": "sha256-dinzAqCjenWDxuy+MqUQq0I4zUSfaCvN9rzuCmgMZJY=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "9d3d080aec2a35e05a15cedd281c2384767c2cfe",
"rev": "bd65bc3cde04c16755955630b344bc9e35272c56",
"type": "github"
},
"original": {
@ -23,11 +23,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1740603184,
"narHash": "sha256-t+VaahjQAWyA+Ctn2idyo1yxRIYpaDxMgHkgCNiMJa4=",
"lastModified": 1739055578,
"narHash": "sha256-2MhC2Bgd06uI1A0vkdNUyDYsMD0SLNGKtD8600mZ69A=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "f44bd8ca21e026135061a0a57dcf3d0775b67a49",
"rev": "a45fa362d887f4d4a7157d95c28ca9ce2899b70e",
"type": "github"
},
"original": {
@ -47,11 +47,11 @@
]
},
"locked": {
"lastModified": 1740569341,
"narHash": "sha256-WV8nY2IOfWdzBF5syVgCcgOchg/qQtpYh6LECYS9XkY=",
"lastModified": 1736549395,
"narHash": "sha256-XzwkB62Tt5UYoL1jXiHzgk/qz2fUpGHExcSIbyGTtI0=",
"owner": "pjones",
"repo": "plasma-manager",
"rev": "5eeb0172fb74392053b66a8149e61b5e191b2845",
"rev": "a53af7f1514ef4cce8620a9d6a50f238cdedec8b",
"type": "github"
},
"original": {

View file

@ -75,6 +75,7 @@
};
modules = [
./machines/solis/configuration.nix
home-manager.nixosModules.home-manager
sops-nix.nixosModules.sops
];
};

View file

@ -4,7 +4,7 @@
./hardware
./network
./terminal
( if !headless then ./wm else ./empty.nix )
./wm
./users
./boot
./base

View file

@ -4,6 +4,7 @@
lib,
config,
pkgs,
headless,
...
}: let
inherit (lib) mkEnableOption mkIf mkOption types;
@ -33,8 +34,8 @@ in {
konsole
];
home-manager.users.${homeCfg.username} = {
home-manager.users.${homeCfg.username} = lib.mkIf (!headless) {
imports = [./config.nix];
};
};
};
}