From e25817cd5a22176301df7228478c792bb4cf000f Mon Sep 17 00:00:00 2001 From: KoenDR06 Date: Fri, 6 Sep 2024 17:27:03 +0200 Subject: [PATCH] Updated luna config to account for a new SSD --- machines/luna/configuration.nix | 7 +++---- machines/luna/hardware-configuration.nix | 10 ++++------ 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/machines/luna/configuration.nix b/machines/luna/configuration.nix index c574d5b..251581e 100644 --- a/machines/luna/configuration.nix +++ b/machines/luna/configuration.nix @@ -25,10 +25,9 @@ services.xserver.enable = true; services.desktopManager.plasma6.enable = true; - services.xserver.desktopManager.gnome.enable = true; - services.xserver.displayManager.sddm.enable = true; - services.xserver.displayManager.sddm.autoNumlock = true; - services.xserver.displayManager.defaultSession = "plasma"; + services.displayManager.sddm.enable = true; + services.displayManager.sddm.autoNumlock = true; + services.displayManager.defaultSession = "plasma"; boot.loader.systemd-boot.enable = true; boot.kernelModules = [ "snd-seq" "snd-rawmidi" ]; diff --git a/machines/luna/hardware-configuration.nix b/machines/luna/hardware-configuration.nix index 2c7eff5..d3d28bb 100644 --- a/machines/luna/hardware-configuration.nix +++ b/machines/luna/hardware-configuration.nix @@ -8,24 +8,22 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/5b1cef65-3c1b-4c46-b117-20271902390f"; + { device = "/dev/disk/by-uuid/c1447573-eee5-48ea-9937-84330065628b"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/0433-B98A"; + { device = "/dev/disk/by-uuid/B516-99F1"; fsType = "vfat"; }; - swapDevices = - [ { device = "/dev/disk/by-uuid/6fbb72cf-415f-48f8-a850-5d91f6e7dae7"; } - ]; + swapDevices = [ ]; # 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