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

View file

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

View file

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

View file

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