c1 config that passes nix flake check
This commit is contained in:
15
c1.nix
Normal file
15
c1.nix
Normal 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;
|
||||
}];
|
||||
}
|
||||
Reference in New Issue
Block a user