guh
This commit is contained in:
parent
a6d2cbad1a
commit
bc3d6c9b5f
@ -77,7 +77,7 @@ in
|
|||||||
algorithm = "zstd";
|
algorithm = "zstd";
|
||||||
};
|
};
|
||||||
|
|
||||||
nix.settings.max-jobs = lib.mkDefault 8;
|
nix.settings.max-jobs = lib.mkForce 16;
|
||||||
security = {
|
security = {
|
||||||
pam.loginLimits = [
|
pam.loginLimits = [
|
||||||
{
|
{
|
||||||
@ -108,7 +108,12 @@ in
|
|||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
|
services.xserver.videoDrivers = ["nvidia" "amdgpu"];
|
||||||
hardware = {
|
hardware = {
|
||||||
|
nvidia.prime = {
|
||||||
|
amdgpuBusId = "PCI:5:0:0";
|
||||||
|
nvidiaBusId = "PCI:1:0:0";
|
||||||
|
};
|
||||||
opengl = {
|
opengl = {
|
||||||
driSupport = true;
|
driSupport = true;
|
||||||
driSupport32Bit = true;
|
driSupport32Bit = true;
|
||||||
@ -132,6 +137,8 @@ in
|
|||||||
support32Bit = true;
|
support32Bit = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.light.enable = true;
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
enableDefaultFonts = true;
|
enableDefaultFonts = true;
|
||||||
|
@ -25,6 +25,7 @@ in {
|
|||||||
"wheel"
|
"wheel"
|
||||||
"adbusers"
|
"adbusers"
|
||||||
"dialout"
|
"dialout"
|
||||||
|
"video"
|
||||||
];
|
];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
hashedPassword = "$6$spzqhAyJfhHy$iHgLBlhjGn1l8PnbjJdWTn1GPvcjMqYNKUzdCe/7IrX6sHNgETSr/Nfpdmq9FCXLhrAfwHOd/q/8SvfeIeNX4/";
|
hashedPassword = "$6$spzqhAyJfhHy$iHgLBlhjGn1l8PnbjJdWTn1GPvcjMqYNKUzdCe/7IrX6sHNgETSr/Nfpdmq9FCXLhrAfwHOd/q/8SvfeIeNX4/";
|
||||||
@ -176,6 +177,8 @@ in {
|
|||||||
cloudflared
|
cloudflared
|
||||||
lutris
|
lutris
|
||||||
discord-open-asar
|
discord-open-asar
|
||||||
|
gamescope
|
||||||
|
protontricks
|
||||||
];
|
];
|
||||||
shellAliases =
|
shellAliases =
|
||||||
nixosConfig.environment.shellAliases
|
nixosConfig.environment.shellAliases
|
||||||
|
Loading…
Reference in New Issue
Block a user