Update all clusters to new-style nix modules

This commit is contained in:
Jonas Juselius
2021-01-09 15:52:16 +01:00
parent 6f34b028d6
commit 2c7ccba683
18 changed files with 357 additions and 204 deletions

27
clusters/k2/hw/k2-1.nix Normal file
View File

@@ -0,0 +1,27 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [ ];
boot.initrd.availableKernelModules = [ "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/9a8d3dae-d0e9-4af1-8eb0-a700cbd483c3";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/42A8-FFF9";
fsType = "vfat";
};
swapDevices = [ ];
virtualisation.hypervGuest.enable = true;
}