aboutsummaryrefslogtreecommitdiff
path: root/nixos/machine/albert.nix
blob: b9a2c8eee2958eeb361acc3c0fd6f369fd29fc06 (plain)
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
32
33
34
35
36
37
38
39
{
  cynerd = {
    desktop = {
      enable = true;
      laptop = true;
    };
    wifiClient = true;
    openvpn = {
      oldpersonal = true;
    };
  };

  boot.initrd.availableKernelModules = ["xhci_pci" "usb_storage" "sd_mod"];

  hardware.cpu.intel.updateMicrocode = true;

  fileSystems = {
    "/" = {
      device = "/dev/disk/by-uuid/1c9bafac-fcf8-41c4-b394-bca5917ca82d";
      fsType = "btrfs";
      options = ["compress=lzo" "subvol=@nix"];
    };
    "/home" = {
      device = "/dev/disk/by-uuid/1c9bafac-fcf8-41c4-b394-bca5917ca82d";
      fsType = "btrfs";
      options = ["compress=lzo" "subvol=@home"];
    };
    "/boot" = {
      device = "/dev/disk/by-uuid/E403-124B";
      fsType = "vfat";
    };

    "/home2" = {
      device = "/dev/disk/by-uuid/55e177a1-215e-475b-ba9c-771b5fa3f8f0";
      fsType = "btrfs";
      options = ["compress=lzo" "subvol=@home"];
    };
  };
}