aboutsummaryrefslogtreecommitdiff
path: root/hosts/adam/hardware-configuration.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-12-11 20:50:00 +0100
committerschererleander <leander@schererleander.de>2025-12-11 20:50:06 +0100
commit2c8c707252fdceffc6bda61aea8ca52c36205658 (patch)
tree9785e874de1d694f9c7730cc28f58ce707e9f31b /hosts/adam/hardware-configuration.nix
parent71dfd462ca23ca41626b7731a0f820c1aa6087c9 (diff)
change disk, desktop environment
Diffstat (limited to 'hosts/adam/hardware-configuration.nix')
-rw-r--r--hosts/adam/hardware-configuration.nix18
1 files changed, 5 insertions, 13 deletions
diff --git a/hosts/adam/hardware-configuration.nix b/hosts/adam/hardware-configuration.nix
index f29d0b5..7f2052d 100644
--- a/hosts/adam/hardware-configuration.nix
+++ b/hosts/adam/hardware-configuration.nix
@@ -8,36 +8,28 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
- boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
+ boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
- { device = "/dev/disk/by-uuid/6cec88ca-69d5-4d18-9501-f10456e5f82a";
+ { device = "/dev/mapper/luks-37471d57-a31d-4bf1-b219-9992bafe7b64";
fsType = "ext4";
};
- boot.initrd.luks.devices."luks-b8e7cd09-a287-4dfd-ba36-75fdb2748bac".device = "/dev/disk/by-uuid/b8e7cd09-a287-4dfd-ba36-75fdb2748bac";
+ boot.initrd.luks.devices."luks-37471d57-a31d-4bf1-b219-9992bafe7b64".device = "/dev/disk/by-uuid/37471d57-a31d-4bf1-b219-9992bafe7b64";
fileSystems."/boot" =
- { device = "/dev/disk/by-uuid/5EEB-07D0";
+ { device = "/dev/disk/by-uuid/8E50-FCCA";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
- [ { device = "/dev/disk/by-uuid/aaa6f7e4-fd39-4dd4-aa71-c421557d64c6"; }
+ [ { device = "/dev/mapper/luks-803851e9-7fa8-4367-a927-0bb76d0fe830"; }
];
- # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
- # (the default) this is the recommended approach. When using systemd-networkd it's
- # still possible to use this option, but it's recommended to use it in conjunction
- # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
- networking.useDHCP = lib.mkDefault true;
- # networking.interfaces.eno1.useDHCP = lib.mkDefault true;
- # networking.interfaces.wlp11s0.useDHCP = lib.mkDefault true;
-
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}