diff --git a/machines/WinMax2/configuration.nix b/machines/WinMax2/configuration.nix index fc39a34..65980d5 100755 --- a/machines/WinMax2/configuration.nix +++ b/machines/WinMax2/configuration.nix @@ -6,18 +6,30 @@ { # Use grub boot loader - boot.loader = { - systemd-boot.enable = false; - grub = { - enable = true; - device = "nodev"; - efiSupport = true; - # No other OS on here :P - useOSProber = false; + boot = { + loader = { + systemd-boot.enable = false; + grub = { + enable = true; + device = "nodev"; + efiSupport = true; + # No other OS on here :P + useOSProber = false; + }; + efi = { + efiSysMountPoint = config.fileSystems."efi_boot_partition".mountPoint; + canTouchEfiVariables = true; + }; }; - efi.efiSysMountPoint = config.fileSystems."efi_boot_partition".mountPoint; + /* + I use luks, and the systemd initrd works better for this + Both for tpm unlocking (soon) and for plymouth + */ + initrd.systemd.enable = true; + # Plymouth doesn't support fractional scaling :( + plymouth.extraConfig = "DeviceScale=2"; + }; - boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "WinMax2"; # Define your hostname. networking.networkmanager.enable = true; # Enable networking @@ -60,6 +72,9 @@ # Enable CUPS to print documents. # services.printing.enable = true; + environment.sessionVariables = { + STEAM_FORCE_DESKTOPUI_SCALING = "1.75"; + }; # Enable sound. # sound.enable = true;