use disko for mounting as well

This commit is contained in:
Noa Aarts 2025-12-22 14:59:01 +01:00
parent 23683bc962
commit 2382c79b08
Signed by: noa
GPG key ID: 1850932741EFF672
3 changed files with 3 additions and 21 deletions

View file

@ -18,6 +18,8 @@
./rescue.nix ./rescue.nix
./restic.nix ./restic.nix
./disk-config.nix
]; ];
age.identityPaths = [ "${config.users.users.noa.home}/.ssh/id_ed25519" ]; age.identityPaths = [ "${config.users.users.noa.home}/.ssh/id_ed25519" ];

View file

@ -26,26 +26,6 @@
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; 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 = [ ]; swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking

View file

@ -22,7 +22,7 @@
"sd_mod" "sd_mod"
]; ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking