Use nixos-facter for hardware configuration
This commit is contained in:
parent
f27055e57a
commit
02108d60ae
5 changed files with 6473 additions and 1 deletions
|
@ -13,6 +13,8 @@
|
|||
sops.enable = true;
|
||||
};
|
||||
|
||||
facter.reportPath = ./facter.json;
|
||||
|
||||
networking.hostName = "xps-9315";
|
||||
swapDevices = [{device = "/dev/disk/by-uuid/96a43c35-0174-4e92-81f0-168a5f601f0b";}];
|
||||
fileSystems = {
|
||||
|
@ -34,7 +36,6 @@
|
|||
};
|
||||
|
||||
boot.initrd.luks.devices."luks-8ffd3129-4908-4209-98c4-4eb68a35c494".device = "/dev/disk/by-uuid/8ffd3129-4908-4209-98c4-4eb68a35c494";
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage"];
|
||||
|
||||
specialisation.cosmic.configuration = {
|
||||
imports = [
|
||||
|
|
6453
machines/sue/facter.json
Normal file
6453
machines/sue/facter.json
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue