c1 config that passes nix flake check

This commit is contained in:
2023-06-30 07:15:01 +01:00
commit edcdb13c03
6 changed files with 342 additions and 0 deletions

15
c1.nix Normal file
View File

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