2021-03-15 12:06:30 +01:00
|
|
|
|
# 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, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
2021-04-13 13:55:37 +02:00
|
|
|
|
imports =
|
|
|
|
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
2021-03-15 12:06:30 +01:00
|
|
|
|
|
2021-07-24 18:01:20 +02:00
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
2021-03-15 12:06:30 +01:00
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2021-04-13 13:55:37 +02:00
|
|
|
|
fileSystems."/" =
|
|
|
|
|
{ device = "system/stateful/root";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/nix" =
|
|
|
|
|
{ device = "system/ephemeral/nix";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/tmp" =
|
|
|
|
|
{ device = "system/ephemeral/tmp";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/home" =
|
|
|
|
|
{ device = "system/stateful/home";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/B314-22E9";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/vault" =
|
|
|
|
|
{ device = "vault";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/vault/VMs" =
|
|
|
|
|
{ device = "vault/VMs";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
2021-07-24 18:01:20 +02:00
|
|
|
|
fileSystems."/vault/backups" =
|
|
|
|
|
{ device = "vault/backups";
|
2021-04-13 13:55:37 +02:00
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
2021-07-24 18:01:20 +02:00
|
|
|
|
fileSystems."/vault/nextcloud" =
|
|
|
|
|
{ device = "vault/nextcloud";
|
2021-04-13 13:55:37 +02:00
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
2021-07-24 18:01:20 +02:00
|
|
|
|
fileSystems."/vault/code" =
|
|
|
|
|
{ device = "vault/code";
|
2021-04-13 13:55:37 +02:00
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
2021-07-24 18:01:20 +02:00
|
|
|
|
fileSystems."/vault/backups/databases" =
|
|
|
|
|
{ device = "vault/backups/databases";
|
2021-04-13 13:55:37 +02:00
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/vault/samba" =
|
|
|
|
|
{ device = "vault/samba";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
2021-07-24 18:01:20 +02:00
|
|
|
|
fileSystems."/vault/backups/wordpress" =
|
|
|
|
|
{ device = "vault/backups/wordpress";
|
2021-05-17 10:48:37 +02:00
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
2021-07-24 18:01:20 +02:00
|
|
|
|
fileSystems."/vault/backups/frontend" =
|
|
|
|
|
{ device = "vault/backups/frontend";
|
2021-05-17 10:48:37 +02:00
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
2021-04-13 13:55:37 +02:00
|
|
|
|
fileSystems."/vault/backups/documents" =
|
|
|
|
|
{ device = "vault/backups/documents";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
2021-07-24 18:01:20 +02:00
|
|
|
|
fileSystems."/vault/config" =
|
|
|
|
|
{ device = "vault/config";
|
2021-04-13 13:55:37 +02:00
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
2021-07-24 18:01:20 +02:00
|
|
|
|
fileSystems."/vault/VMs/legacy" =
|
|
|
|
|
{ device = "vault/VMs/legacy";
|
2021-04-13 13:55:37 +02:00
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
2021-07-24 18:01:20 +02:00
|
|
|
|
fileSystems."/vault/frontend" =
|
|
|
|
|
{ device = "vault/frontend";
|
2021-04-13 13:55:37 +02:00
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
2021-03-29 19:38:26 +02:00
|
|
|
|
|
2021-03-15 12:06:30 +01:00
|
|
|
|
swapDevices =
|
2021-04-13 13:55:37 +02:00
|
|
|
|
[ { device = "/dev/disk/by-uuid/8262a243-b6aa-49e8-bf72-d2b85864d1c0"; }
|
|
|
|
|
];
|
2021-03-15 12:06:30 +01:00
|
|
|
|
|
|
|
|
|
}
|