This commit is contained in:
dusk 2022-07-21 01:41:36 +03:00
parent a6d2cbad1a
commit bc3d6c9b5f
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
2 changed files with 11 additions and 1 deletions

View File

@ -77,7 +77,7 @@ in
algorithm = "zstd";
};
nix.settings.max-jobs = lib.mkDefault 8;
nix.settings.max-jobs = lib.mkForce 16;
security = {
pam.loginLimits = [
{
@ -108,7 +108,12 @@ in
alsa.support32Bit = true;
pulse.enable = true;
};
services.xserver.videoDrivers = ["nvidia" "amdgpu"];
hardware = {
nvidia.prime = {
amdgpuBusId = "PCI:5:0:0";
nvidiaBusId = "PCI:1:0:0";
};
opengl = {
driSupport = true;
driSupport32Bit = true;
@ -132,6 +137,8 @@ in
support32Bit = true;
};
};
programs.light.enable = true;
fonts = {
enableDefaultFonts = true;

View File

@ -25,6 +25,7 @@ in {
"wheel"
"adbusers"
"dialout"
"video"
];
shell = pkgs.zsh;
hashedPassword = "$6$spzqhAyJfhHy$iHgLBlhjGn1l8PnbjJdWTn1GPvcjMqYNKUzdCe/7IrX6sHNgETSr/Nfpdmq9FCXLhrAfwHOd/q/8SvfeIeNX4/";
@ -176,6 +177,8 @@ in {
cloudflared
lutris
discord-open-asar
gamescope
protontricks
];
shellAliases =
nixosConfig.environment.shellAliases