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

104 lines
2.4 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.
{ config, lib, pkgs, modulesPath, ... }:
2020-04-11 21:47:33 +00:00
{
imports =
[
(modulesPath + "/installer/scan/not-detected.nix")
2020-04-11 21:47:33 +00:00
];
2021-01-15 19:27:51 +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 = [ ];
fileSystems."/" =
{
device = "/dev/disk/by-uuid/aca21111-a488-4bc7-90a7-e61517c24818";
2020-04-11 21:47:33 +00:00
fsType = "btrfs";
options = [ "subvol=root" ];
};
fileSystems."/nix" =
{
device = "/dev/disk/by-uuid/aca21111-a488-4bc7-90a7-e61517c24818";
2020-04-11 21:47:33 +00:00
fsType = "btrfs";
options = [ "subvol=nix" ];
};
fileSystems."/boot" =
{
device = "/dev/disk/by-uuid/1AC2-9317";
2020-04-11 21:47:33 +00:00
fsType = "vfat";
};
2021-01-15 19:27:51 +00:00
fileSystems."/home" =
{
2021-01-15 19:27:51 +00:00
device = "/dev/disk/by-uuid/aca21111-a488-4bc7-90a7-e61517c24818";
2020-04-11 21:47:33 +00:00
fsType = "btrfs";
2021-01-15 19:27:51 +00:00
options = [ "subvol=home" ];
2020-04-11 21:47:33 +00:00
};
2020-05-10 01:14:13 +00:00
fileSystems."/media/data" =
{
device = "/dev/disk/by-uuid/c01b98d1-1eb9-42ce-8d05-4b9d852fca55";
2020-04-11 21:47:33 +00:00
fsType = "btrfs";
};
2021-01-15 19:27:51 +00:00
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."/var/lib/docker/btrfs" =
{
device = "/var/lib/lxd/storage-pools/default/root/var/lib/docker/btrfs";
fsType = "none";
options = [ "bind" ];
};
2021-01-16 04:14:30 +00:00
fileSystems."/media/luna/private" =
2021-01-15 19:27:51 +00:00
{
2021-01-16 04:14:30 +00:00
device = "//10.69.0.69/private";
2021-01-15 19:27:51 +00:00
fsType = "cifs";
};
2021-01-16 04:14:30 +00:00
fileSystems."/media/luna/photos" =
2021-01-15 19:27:51 +00:00
{
2021-01-16 04:14:30 +00:00
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";
2021-01-15 19:27:51 +00:00
};
2020-04-11 21:47:33 +00:00
swapDevices =
[{ device = "/dev/disk/by-uuid/b134fecf-719f-45af-b317-001e413f06c4"; }];
2020-04-11 21:47:33 +00:00
}