nixos-config/system/starlight/hardware-configuration.nix

93 lines
2.2 KiB
Nix
Raw Normal View History

2020-04-11 21:47:33 +00: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.
2024-03-02 03:13:17 +00:00
{
config,
lib,
pkgs,
modulesPath,
...
}:
2020-04-11 21:47:33 +00:00
{
2023-08-26 23:00:18 +00:00
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
2020-04-11 21:47:33 +00:00
2024-03-02 03:13:17 +00:00
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usbhid"
"usb_storage"
"sd_mod"
];
2020-04-11 21:47:33 +00:00
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
2023-08-26 23:00:18 +00:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/aca21111-a488-4bc7-90a7-e61517c24818";
fsType = "btrfs";
options = [ "subvol=root" ];
};
fileSystems."/nix" = {
device = "/dev/disk/by-uuid/aca21111-a488-4bc7-90a7-e61517c24818";
fsType = "btrfs";
options = [ "subvol=nix" ];
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/1AC2-9317";
fsType = "vfat";
};
fileSystems."/home" = {
device = "/dev/disk/by-uuid/aca21111-a488-4bc7-90a7-e61517c24818";
fsType = "btrfs";
options = [ "subvol=home" ];
};
fileSystems."/media/data" = {
device = "/dev/disk/by-uuid/c01b98d1-1eb9-42ce-8d05-4b9d852fca55";
fsType = "btrfs";
};
fileSystems."/var/lib/lxd/shmounts" = {
device = "tmpfs";
fsType = "tmpfs";
};
fileSystems."/var/lib/lxd/devlxd" = {
device = "tmpfs";
fsType = "tmpfs";
};
fileSystems."/var/lib/lxd/storage-pools/default" = {
device = "/dev/disk/by-uuid/aca21111-a488-4bc7-90a7-e61517c24818";
fsType = "btrfs";
options = [ "subvol=root/var/lib/lxd/storage-pools/default" ];
};
fileSystems."/media/luna/photos" = {
device = "10.69.0.69:/media/tank/photos";
fsType = "nfs4";
};
fileSystems."/media/luna/games" = {
device = "10.69.0.69:/media/tank/games";
fsType = "nfs4";
};
fileSystems."/media/luna/media" = {
device = "10.69.0.69:/media/tank/media";
fsType = "nfs4";
};
fileSystems."/media/luna/private" = {
device = "10.69.0.69:/media/tank/users/artemis";
fsType = "nfs4";
};
2021-01-23 19:00:13 +00:00
2024-03-02 03:13:17 +00:00
swapDevices = [ { device = "/dev/disk/by-uuid/b134fecf-719f-45af-b317-001e413f06c4"; } ];
2020-04-11 21:47:33 +00:00
}