Compare commits
3 commits
e0f5fffea4
...
9b5dfb9c20
| Author | SHA1 | Date | |
|---|---|---|---|
| 9b5dfb9c20 | |||
| 92b2b131ba | |||
| 3a15f90405 |
1 changed files with 25 additions and 10 deletions
|
|
@ -6,18 +6,30 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
# Use grub boot loader
|
# Use grub boot loader
|
||||||
boot.loader = {
|
boot = {
|
||||||
systemd-boot.enable = false;
|
loader = {
|
||||||
grub = {
|
systemd-boot.enable = false;
|
||||||
enable = true;
|
grub = {
|
||||||
device = "nodev";
|
enable = true;
|
||||||
efiSupport = true;
|
device = "nodev";
|
||||||
# No other OS on here :P
|
efiSupport = true;
|
||||||
useOSProber = false;
|
# 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.hostName = "WinMax2"; # Define your hostname.
|
||||||
networking.networkmanager.enable = true; # Enable networking
|
networking.networkmanager.enable = true; # Enable networking
|
||||||
|
|
@ -60,6 +72,9 @@
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
# services.printing.enable = true;
|
# services.printing.enable = true;
|
||||||
|
environment.sessionVariables = {
|
||||||
|
STEAM_FORCE_DESKTOPUI_SCALING = "1.75";
|
||||||
|
};
|
||||||
|
|
||||||
# Enable sound.
|
# Enable sound.
|
||||||
# sound.enable = true;
|
# sound.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue