Update FredOS-Gaming.nix
This commit is contained in:
parent
61f788092c
commit
b8792fddd2
1 changed files with 9 additions and 24 deletions
|
|
@ -1,21 +1,11 @@
|
|||
# hosts/FredOS-Gaming.nix
|
||||
{ config, pkgs, lib, ... }:
|
||||
(lib.mkIf (config.networking.hostName == "FredOS-Gaming") {
|
||||
|
||||
# Remove this entire packageOverrides section - it's not working
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.lutris
|
||||
pkgs.adwaita-icon-theme
|
||||
pkgs.nix-index
|
||||
pkgs.libdecor
|
||||
pkgs.pkgsi686Linux.libdecor # This is the correct way
|
||||
{
|
||||
config = lib.mkIf (config.networking.hostName == "FredOS-Gaming") {
|
||||
environment.systemPackages = with pkgs; [
|
||||
lutris
|
||||
];
|
||||
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
}; # <--- Semicolon required here
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
|
|
@ -24,13 +14,8 @@
|
|||
kdePackages.breeze
|
||||
];
|
||||
};
|
||||
}; # <--- Semicolon required here
|
||||
|
||||
environment.sessionVariables = {
|
||||
LIBDECOR_PLUGIN_DIR = "${pkgs.libdecor}/lib/libdecor/plugins-1";
|
||||
GTK_PATH = "${pkgs.gtk3}/lib/gtk-3.0:${pkgs.gtk4}/lib/gtk-4.0";
|
||||
}; # <--- Semicolon required here
|
||||
|
||||
};
|
||||
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
dates = "daily";
|
||||
|
|
@ -41,5 +26,5 @@
|
|||
"--option" "tarball-ttl" "0"
|
||||
];
|
||||
};
|
||||
|
||||
})
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue