16 lines
331 B
Nix
16 lines
331 B
Nix
{ 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;
|
|
}];
|
|
}
|