Compare commits
No commits in common. "9b5dfb9c20798ad02d7949fe53c446b9a4883453" and "e0f5fffea4534c7eeb9e4826f4ea02e873e4f61d" have entirely different histories.
9b5dfb9c20
...
e0f5fffea4
1 changed files with 10 additions and 25 deletions
|
|
@ -6,30 +6,18 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
# Use grub boot loader
|
# Use grub boot loader
|
||||||
boot = {
|
boot.loader = {
|
||||||
loader = {
|
systemd-boot.enable = false;
|
||||||
systemd-boot.enable = false;
|
grub = {
|
||||||
grub = {
|
enable = true;
|
||||||
enable = true;
|
device = "nodev";
|
||||||
device = "nodev";
|
efiSupport = true;
|
||||||
efiSupport = true;
|
# No other OS on here :P
|
||||||
# No other OS on here :P
|
useOSProber = false;
|
||||||
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
|
||||||
|
|
@ -72,9 +60,6 @@
|
||||||
|
|
||||||
# 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