Add wordpress vdev

This commit is contained in:
coolneng 2021-04-13 13:55:37 +02:00
parent a082dda03b
commit 0e312ded51
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 75 additions and 68 deletions

View File

@ -4,95 +4,102 @@
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules =
[ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "system/stateful/root";
fileSystems."/" =
{ device = "system/stateful/root";
fsType = "zfs";
};
fileSystems."/nix" = {
device = "system/ephemeral/nix";
fileSystems."/nix" =
{ device = "system/ephemeral/nix";
fsType = "zfs";
};
fileSystems."/tmp" = {
device = "system/ephemeral/tmp";
fileSystems."/tmp" =
{ device = "system/ephemeral/tmp";
fsType = "zfs";
};
fileSystems."/home" = {
device = "system/stateful/home";
fileSystems."/home" =
{ device = "system/stateful/home";
fsType = "zfs";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/B314-22E9";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/B314-22E9";
fsType = "vfat";
};
fileSystems."/vault" = {
device = "vault";
fileSystems."/vault" =
{ device = "vault";
fsType = "zfs";
};
fileSystems."/vault/backups" = {
device = "vault/backups";
fileSystems."/vault/backups" =
{ device = "vault/backups";
fsType = "zfs";
};
fileSystems."/vault/VMs" = {
device = "vault/VMs";
fileSystems."/vault/VMs" =
{ device = "vault/VMs";
fsType = "zfs";
};
fileSystems."/vault/config" = {
device = "vault/config";
fileSystems."/vault/code" =
{ device = "vault/code";
fsType = "zfs";
};
fileSystems."/vault/samba" = {
device = "vault/samba";
fileSystems."/vault/nextcloud" =
{ device = "vault/nextcloud";
fsType = "zfs";
};
fileSystems."/vault/code" = {
device = "vault/code";
fileSystems."/vault/config" =
{ device = "vault/config";
fsType = "zfs";
};
fileSystems."/vault/VMs/legacy" = {
device = "vault/VMs/legacy";
fileSystems."/vault/backups/databases" =
{ device = "vault/backups/databases";
fsType = "zfs";
};
fileSystems."/vault/backups/databases" = {
device = "vault/backups/databases";
fileSystems."/vault/samba" =
{ device = "vault/samba";
fsType = "zfs";
};
fileSystems."/vault/nextcloud" = {
device = "vault/nextcloud";
fileSystems."/vault/backups/documents" =
{ device = "vault/backups/documents";
fsType = "zfs";
};
fileSystems."/vault/backups/documents" = {
device = "vault/backups/documents";
fileSystems."/vault/VMs/legacy" =
{ device = "vault/VMs/legacy";
fsType = "zfs";
};
fileSystems."/vault/backups/frontend" = {
device = "vault/backups/frontend";
fileSystems."/vault/backups/frontend" =
{ device = "vault/backups/frontend";
fsType = "zfs";
};
fileSystems."/vault/backups/wordpress" =
{ device = "vault/backups/wordpress";
fsType = "zfs";
};
swapDevices =
[{ device = "/dev/disk/by-uuid/8262a243-b6aa-49e8-bf72-d2b85864d1c0"; }];
[ { device = "/dev/disk/by-uuid/8262a243-b6aa-49e8-bf72-d2b85864d1c0"; }
];
}