katja's 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 
22 
23 
24 
25 
26 
27 
28 
29 
30 
31 
{ config, lib, pkgs, modulesPath, ... }:

{

  boot.kernelModules = [ "kvm-intel" ];
  boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "r8169" ];
  boot.initrd.luks.devices."nix-store".device = "/dev/disk/by-uuid/d1e0568c-042a-4e76-8901-30bcb9fb8efb";

  fileSystems."/" = {
    device = "tmpfs";
    fsType = "tmpfs";
    options = [ "size=10G" "mode=755" ];
  };

  fileSystems."/home/katja" = {
    device = "tmpfs";
    fsType = "tmpfs";
    options = [ "size=2G" "mode=777" ];
  };

  fileSystems."/nix" = {
    device = "/dev/disk/by-uuid/96c415eb-b423-4621-b170-ba1b4380dede";
    fsType = "ext4";
  };

  fileSystems."/boot" = {
    device = "/dev/disk/by-uuid/56D5-115E";
    fsType = "vfat";
  };

}