Make a hosts directory.

This commit is contained in:
2023-06-30 07:19:13 +01:00
parent edcdb13c03
commit 1e3a708ce4
4 changed files with 3 additions and 3 deletions

15
hosts/c1/default.nix Normal file
View File

@@ -0,0 +1,15 @@
{ pkgs, inputs, hostname, ... }:
{
imports = [
inputs.impermanence.nixosModules.impermanence
../common/compute-node.nix
./hardware.nix
];
networking.hostName = hostname;
swapDevices = pkgs.lib.mkForce [ {
device = "/dev/disk/by-id/nvme-eui.002538b981b03d98-part2";
randomEncryption.enable = true;
}];
}