Compare commits

...

2 commits

2 changed files with 22 additions and 2 deletions

View file

@ -110,6 +110,17 @@
environment.sessionVariables = { environment.sessionVariables = {
STEAM_FORCE_DESKTOPUI_SCALING = "2"; 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. # Enable sound.
# sound.enable = true; # sound.enable = true;

View file

@ -19,7 +19,10 @@ in {
boot.kernelModules = ["kvm-amd"]; boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = []; boot.extraModulePackages = [];
boot.initrd.luks.devices."SSD".device = "/dev/disk/by-label/wm2-enc"; boot.initrd.luks.devices = {
"SSD".device = "/dev/disk/by-label/wm2-enc";
"swap".device = "/dev/disk/by-label/wm2-swap";
};
fileSystems = { fileSystems = {
"efi_boot_partition" = { "efi_boot_partition" = {
@ -65,7 +68,13 @@ in {
}; };
}; };
swapDevices = []; swapDevices = [
{
device = "/dev/mapper/swap";
# only want to use the swap partition for hibernating
priority = 0;
}
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware = { hardware = {