ctucx.git: nixfiles

ctucx' nixfiles

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
{ config, lib, pkgs, modulesPath, ... }:

{

  boot.kernelModules = [ "kvm-intel" ];

  boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" ];
  boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/b3184874-df78-4d02-9412-b060eb37e038";

  fileSystems."/" = {
    device = "/dev/disk/by-uuid/f81ba7a3-4b34-4c58-9588-78f8920b2f00";
    fsType = "ext4";
  };

  fileSystems."/boot" = {
    device  = "/dev/disk/by-uuid/9315-B4DE";
    fsType  = "vfat";
    options = [ "fmask=0022" "dmask=0022" ];
  };

}