refactor: merge 'host.nix' into 'meta.nix'
This commit is contained in:
@@ -3,15 +3,19 @@
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
meta = import ./meta.nix;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
inputs.disko.nixosModules.disko
|
||||
./hard.nix
|
||||
./host.nix
|
||||
./disk.nix
|
||||
../../modules
|
||||
];
|
||||
|
||||
inherit (meta) host;
|
||||
|
||||
home-manager.users.${config.host.username} = import ../../home/hosts/vm;
|
||||
|
||||
"ai-tools".enable = true;
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
host = {
|
||||
username = "h";
|
||||
};
|
||||
}
|
||||
@@ -1,9 +1,8 @@
|
||||
{
|
||||
system = "x86_64-linux";
|
||||
deployment = {
|
||||
tags = [ "local" ];
|
||||
targetHost = "";
|
||||
targetUser = "h";
|
||||
};
|
||||
role = "vm";
|
||||
tags = [ "local" ];
|
||||
host = {
|
||||
username = "h";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user