add base for ctf-vm1
This commit is contained in:
parent
e76974c83c
commit
3bdcaa3d53
@ -52,6 +52,7 @@
|
|||||||
desktop1 = mkHost ./hosts/desktop1/configuration.nix;
|
desktop1 = mkHost ./hosts/desktop1/configuration.nix;
|
||||||
server1 = mkHost ./hosts/server1/configuration.nix;
|
server1 = mkHost ./hosts/server1/configuration.nix;
|
||||||
laptop1 = mkHost ./hosts/laptop1/configuration.nix;
|
laptop1 = mkHost ./hosts/laptop1/configuration.nix;
|
||||||
|
ctf-vm1 = mkHost ./hosts/ctf-vm1/configuration.nix;
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
22
hosts/ctf-vm1/configuration.nix
Normal file
22
hosts/ctf-vm1/configuration.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ inputs, config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../common/common.nix
|
||||||
|
./hardware-configuration.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
networking.hostName = "ctf-vm1";
|
||||||
|
|
||||||
|
home-manager = {
|
||||||
|
extraSpecialArgs = {
|
||||||
|
inherit inputs;
|
||||||
|
smayzy = config.smayzy;
|
||||||
|
};
|
||||||
|
users = {
|
||||||
|
smayzy = import ./home.nix;
|
||||||
|
};
|
||||||
|
backupFileExtension = "backup";
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
7
hosts/ctf-vm1/home.nix
Normal file
7
hosts/ctf-vm1/home.nix
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../common/home.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user