hosts | add default.nix
This commit is contained in:
parent
1ec9671d8b
commit
c82cccc342
1 changed files with 22 additions and 6 deletions
28
flake.nix
28
flake.nix
|
|
@ -31,13 +31,29 @@
|
||||||
./wm/sway
|
./wm/sway
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
server = {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
modules = [
|
||||||
|
./server
|
||||||
|
inputs.home-manager.nixosModules.home-manager
|
||||||
|
./home
|
||||||
|
];
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
|
fred = inputs.nixpkgs.lib.nixosSystem {
|
||||||
|
modules = server.modules ++ [
|
||||||
|
{
|
||||||
|
networking.hostName = "fred";
|
||||||
|
}
|
||||||
|
./hosts/fred
|
||||||
|
];
|
||||||
|
};
|
||||||
loki = inputs.nixpkgs.lib.nixosSystem {
|
loki = inputs.nixpkgs.lib.nixosSystem {
|
||||||
modules = workstation.modules ++ [
|
modules = workstation.modules ++ [
|
||||||
{
|
{
|
||||||
networking.hostName = "loki";
|
networking.hostName = "loki";
|
||||||
}
|
}
|
||||||
./hosts/loki/hardware-configuration.nix
|
./hosts/loki
|
||||||
inputs.nixos-hardware.nixosModules.dell-xps-13-9310
|
inputs.nixos-hardware.nixosModules.dell-xps-13-9310
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
@ -46,7 +62,7 @@
|
||||||
{
|
{
|
||||||
networking.hostName = "smaug";
|
networking.hostName = "smaug";
|
||||||
}
|
}
|
||||||
./hosts/smaug/hardware-configuration.nix
|
./hosts/smaug
|
||||||
./hosts/smaug/podman.nix
|
./hosts/smaug/podman.nix
|
||||||
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x260
|
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x260
|
||||||
];
|
];
|
||||||
|
|
@ -56,7 +72,7 @@
|
||||||
{
|
{
|
||||||
networking.hostName = "pocket2";
|
networking.hostName = "pocket2";
|
||||||
}
|
}
|
||||||
./hosts/pocket2/hardware-configuration.nix
|
./hosts/pocket2
|
||||||
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
||||||
inputs.nixos-hardware.nixosModules.common-gpu-intel
|
inputs.nixos-hardware.nixosModules.common-gpu-intel
|
||||||
inputs.nixos-hardware.nixosModules.common-pc-laptop
|
inputs.nixos-hardware.nixosModules.common-pc-laptop
|
||||||
|
|
@ -68,7 +84,7 @@
|
||||||
{
|
{
|
||||||
networking.hostName = "dragon";
|
networking.hostName = "dragon";
|
||||||
}
|
}
|
||||||
./hosts/dragon/hardware-configuration.nix
|
./hosts/dragon
|
||||||
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
||||||
inputs.nixos-hardware.nixosModules.common-gpu-intel
|
inputs.nixos-hardware.nixosModules.common-gpu-intel
|
||||||
inputs.nixos-hardware.nixosModules.common-pc-laptop
|
inputs.nixos-hardware.nixosModules.common-pc-laptop
|
||||||
|
|
@ -80,7 +96,7 @@
|
||||||
{
|
{
|
||||||
networking.hostName = "eve";
|
networking.hostName = "eve";
|
||||||
}
|
}
|
||||||
./hosts/eve/hardware-configuration.nix
|
./hosts/eve
|
||||||
inputs.nixos-hardware.nixosModules.google-pixelbook
|
inputs.nixos-hardware.nixosModules.google-pixelbook
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
@ -90,7 +106,7 @@
|
||||||
services.getty.autologinUser = "don";
|
services.getty.autologinUser = "don";
|
||||||
networking.hostName = "vm2";
|
networking.hostName = "vm2";
|
||||||
}
|
}
|
||||||
./hosts/vm1/hardware-configuration.nix
|
./hosts/vm1
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue