headless/home

This commit is contained in:
Lilith 2025-02-27 00:08:36 +01:00
parent a9d0f1e6b7
commit 6afe7c562d
Signed by: lilith
GPG key ID: 8712A0F317C37175
5 changed files with 9 additions and 1 deletions

View file

@ -37,6 +37,8 @@
inherit (nixpkgs) lib;
defaultConfig = {
headless = false;
home = true;
};
makeHost = host: let
@ -51,7 +53,8 @@
./hosts/${host}/hardware-configuration.nix
./system
{networking.hostName = host;}
];
] ++ lib.optionals config.headless [ ./headless ]
++ lib.optionals config.desktop [ ./home ];
};
in {
nixosConfigurations = lib.pipe ./hosts [

1
headless/default.nix Normal file
View file

@ -0,0 +1 @@
{...}: {}

1
home/default.nix Normal file
View file

@ -0,0 +1 @@
{...}: {}

1
result Symbolic link
View file

@ -0,0 +1 @@
/nix/store/7zqckfh65m2qmgygpvypxfxn2nywsgar-nixos-system-lilith-pc-25.05.20241126.af51545

View file

@ -2,4 +2,6 @@
imports = [
./boot.nix
];
# lib.mkForce
}