From 2382c79b0857e6ff3d3cdfe7057f4e4d8c33b85c Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Mon, 22 Dec 2025 14:59:01 +0100 Subject: [PATCH] use disko for mounting as well --- hosts/lambdaos/configuration.nix | 2 ++ hosts/lambdaos/hardware-configuration.nix | 20 -------------------- hosts/muos/hardware-configuration.nix | 2 +- 3 files changed, 3 insertions(+), 21 deletions(-) diff --git a/hosts/lambdaos/configuration.nix b/hosts/lambdaos/configuration.nix index b8928d0..0b49d51 100644 --- a/hosts/lambdaos/configuration.nix +++ b/hosts/lambdaos/configuration.nix @@ -18,6 +18,8 @@ ./rescue.nix ./restic.nix + + ./disk-config.nix ]; age.identityPaths = [ "${config.users.users.noa.home}/.ssh/id_ed25519" ]; diff --git a/hosts/lambdaos/hardware-configuration.nix b/hosts/lambdaos/hardware-configuration.nix index dcdaeb7..cc3d764 100644 --- a/hosts/lambdaos/hardware-configuration.nix +++ b/hosts/lambdaos/hardware-configuration.nix @@ -26,26 +26,6 @@ boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = { - device = "/dev/disk/by-uuid/263716dd-52cb-4a91-ba0b-e39e492ed0e5"; - fsType = "ext4"; - }; - - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/B08E-916D"; - fsType = "vfat"; - }; - - fileSystems."/nix" = { - device = "/dev/disk/by-uuid/b64dfc95-05c7-40bb-879b-9820c84779dc"; - fsType = "btrfs"; - options = [ - "compress=zstd:7" - "noatime" - "subvol=nix" - ]; - }; - swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking diff --git a/hosts/muos/hardware-configuration.nix b/hosts/muos/hardware-configuration.nix index a460da2..9755d85 100644 --- a/hosts/muos/hardware-configuration.nix +++ b/hosts/muos/hardware-configuration.nix @@ -22,7 +22,7 @@ "sd_mod" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; + boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking