Compare commits

...

3 commits

View file

@ -6,7 +6,8 @@
{
# Use grub boot loader
boot.loader = {
boot = {
loader = {
systemd-boot.enable = false;
grub = {
enable = true;
@ -15,9 +16,20 @@
# No other OS on here :P
useOSProber = false;
};
efi.efiSysMountPoint = config.fileSystems."efi_boot_partition".mountPoint;
efi = {
efiSysMountPoint = config.fileSystems."efi_boot_partition".mountPoint;
canTouchEfiVariables = true;
};
};
/*
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;