This commit is contained in:
@@ -26,7 +26,6 @@ in
|
||||
inherit (meta) host;
|
||||
|
||||
hardware.facter.reportPath = ./facter.json;
|
||||
home-manager.users.${config.host.username} = import ../../home/hosts/${config.host.name};
|
||||
|
||||
"ai-tools".enable = true;
|
||||
anki.enable = true;
|
||||
|
||||
@@ -25,7 +25,6 @@ in
|
||||
inherit (meta) host;
|
||||
|
||||
hardware.facter.reportPath = ./facter.json;
|
||||
home-manager.users.${config.host.username} = import ../../home/hosts/${config.host.name};
|
||||
|
||||
"ai-tools".enable = true;
|
||||
anki.enable = true;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
@@ -17,7 +16,6 @@ in
|
||||
inherit (meta) host;
|
||||
|
||||
hardware.facter.reportPath = ./facter.json;
|
||||
home-manager.users.${config.host.username} = import ../../home/hosts/vm;
|
||||
|
||||
"ai-tools".enable = true;
|
||||
anki.enable = true;
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
let
|
||||
inherit (inputs.nixpkgs) lib;
|
||||
homeDir = ../../home/hosts + "/${config.host.name}";
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
@@ -83,6 +84,9 @@ in
|
||||
host.username = lib.mkDefault config.host.username;
|
||||
}
|
||||
];
|
||||
users = lib.optionalAttrs (builtins.pathExists homeDir) {
|
||||
${config.host.username} = import homeDir;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user