add kidney machine config
This commit is contained in:
parent
82bed310d8
commit
95d1f5adbe
6 changed files with 131 additions and 21 deletions
|
@ -34,6 +34,23 @@ in {
|
|||
|
||||
inherit specialArgs;
|
||||
};
|
||||
kidney = {
|
||||
deployment = {
|
||||
allowLocalDeployment = true;
|
||||
};
|
||||
imports = lib.flatten [
|
||||
./kidney
|
||||
(modulePaths [
|
||||
"core/tools.nix"
|
||||
"network/tailscale.nix"
|
||||
|
||||
"programs/tools.nix"
|
||||
|
||||
"nix"
|
||||
"nix/gc.nix"
|
||||
])
|
||||
];
|
||||
};
|
||||
nixdesk = {
|
||||
deployment = {
|
||||
allowLocalDeployment = true;
|
||||
|
|
9
hosts/kidney/default.nix
Normal file
9
hosts/kidney/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{lib}: {
|
||||
imports = [
|
||||
./wsl.nix
|
||||
];
|
||||
|
||||
networking.hostName = "kidney";
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
8
hosts/kidney/wsl.nix
Normal file
8
hosts/kidney/wsl.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{inputs, ...}: {
|
||||
imports = [
|
||||
inputs.nixos-wsl.nixosModules.default
|
||||
];
|
||||
|
||||
wsl.enable = true;
|
||||
wsl.defaultUser = "xun";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue