diff --git a/machines/WinMax2/configuration.nix b/machines/WinMax2/configuration.nix index f5213b1..79ce4d6 100755 --- a/machines/WinMax2/configuration.nix +++ b/machines/WinMax2/configuration.nix @@ -110,17 +110,6 @@ environment.sessionVariables = { STEAM_FORCE_DESKTOPUI_SCALING = "2"; }; - home-manager.users.toast = { - # Steam's hidpi support is bugged so it needds to be hardcoded - # This bypasses that - xdg.desktopEntries = { - steam-noScaling = { - name = "Steam (No Scaling)"; - exec = "env STEAM_FORCE_DESKTOPUI_SCALING=0 steam %U"; - icon = "steam"; - }; - }; - }; # Enable sound. # sound.enable = true; diff --git a/machines/WinMax2/hardware-configuration.nix b/machines/WinMax2/hardware-configuration.nix index 4778fbe..45745ac 100755 --- a/machines/WinMax2/hardware-configuration.nix +++ b/machines/WinMax2/hardware-configuration.nix @@ -19,10 +19,7 @@ in { boot.kernelModules = ["kvm-amd"]; boot.extraModulePackages = []; - boot.initrd.luks.devices = { - "SSD".device = "/dev/disk/by-label/wm2-enc"; - "swap".device = "/dev/disk/by-label/wm2-swap"; - }; + boot.initrd.luks.devices."SSD".device = "/dev/disk/by-label/wm2-enc"; fileSystems = { "efi_boot_partition" = { @@ -68,13 +65,7 @@ in { }; }; - swapDevices = [ - { - device = "/dev/mapper/swap"; - # only want to use the swap partition for hibernating - priority = 0; - } - ]; + swapDevices = []; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware = {