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

57 lines
1.7 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
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
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."/home" =
{ device = "/dev/disk/by-uuid/aca21111-a488-4bc7-90a7-e61517c24818";
fsType = "btrfs";
options = [ "subvol=home" ];
};
2020-04-11 21:47:33 +00:00
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/1AC2-9317";
fsType = "vfat";
};
fileSystems."/media/archive" =
{ device = "/dev/disk/by-uuid/ba796824-5165-4a95-87c2-1fb49a449138";
2020-04-11 21:47:33 +00:00
fsType = "btrfs";
};
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";
};
boot.initrd.luks.devices."alicorn".device = "/dev/disk/by-uuid/3de20c8e-2c31-491a-a8cc-fea4762e8601";
boot.initrd.luks.devices."glimmer".device = "/dev/disk/by-uuid/43220fc3-2f33-4915-9365-59eb27b21719";
2020-04-11 21:47:33 +00:00
swapDevices =
[ { device = "/dev/disk/by-uuid/b134fecf-719f-45af-b317-001e413f06c4"; }
];
}