nix-deploy/unstable/config/hosts/wind/hardware-configuration.nix

77 lines
1.7 KiB
Nix
Raw Normal View History

2021-09-22 10:16:11 +02: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, ... }:
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
(modulesPath + "/profiles/minimal.nix")
#(modulesPath + "/profiles/hardened.nix")
];
boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "virtio_scsi" "xhci_pci" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "rpool/safe/root";
fsType = "zfs";
};
fileSystems."/home" =
{ device = "rpool/safe/home";
fsType = "zfs";
};
fileSystems."/nix" =
{ device = "rpool/local/nix";
fsType = "zfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/85B8-9142";
fsType = "vfat";
};
fileSystems."/var/lib/matrix-synapse" =
{ device = "rpool/safe/synapse";
fsType = "zfs";
};
fileSystems."/var/lib/postgresql" =
{ device = "rpool/safe/postgres";
fsType = "zfs";
};
fileSystems."/var/lib/acme" =
{ device = "rpool/safe/acme";
fsType = "zfs";
};
fileSystems."/var/www" =
{ device = "rpool/safe/webroot";
fsType = "zfs";
};
fileSystems."/var/lib/tt-rss" =
{ device = "rpool/safe/tt-rss";
fsType = "zfs";
};
fileSystems."/var/lib/gitea" =
{ device = "rpool/safe/gitea";
fsType = "zfs";
};
2021-09-22 15:31:20 +02:00
fileSystems."/var/lib/vaultwarden" =
{ device = "rpool/safe/vaultwarden";
fsType = "zfs";
};
2021-09-22 10:16:11 +02:00
swapDevices =
[ { device = "/dev/disk/by-uuid/e70cc088-a54e-4cd8-88ec-91944e5ff989"; }
];
}