Update FredOS-Gaming.nix

This commit is contained in:
ediblerope 2025-12-09 15:53:21 +00:00 committed by GitHub
parent aeffd92032
commit c8b03c0b2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,51 +2,50 @@
(lib.mkIf (config.networking.hostName == "FredOS-Gaming") { (lib.mkIf (config.networking.hostName == "FredOS-Gaming") {
    nixpkgs.config.packageOverrides = pkgs: { nixpkgs.config.packageOverrides = pkgs: {
      pkgs = pkgs // { pkgs = pkgs // {
        lib32 = pkgs.pkgsi686Linux.pkgs; lib32 = pkgs.pkgsi686Linux.pkgs;
      }; };
    }; # <--- ADD SEMICOLON HERE }; # <--- SEMICOLON (Required)
    
    environment.systemPackages = with pkgs; [
      lutris
      adwaita-icon-theme
      nix-index
      libdecor
      pkgs.lib32.libdecor
    ]; # <--- ADD SEMICOLON HERE
    hardware.graphics = { environment.systemPackages = with pkgs; [
      enable = true; lutris
      enable32Bit = true; adwaita-icon-theme
    }; # <--- ADD SEMICOLON HERE nix-index
libdecor
pkgs.lib32.libdecor
]; # <--- SEMICOLON (Required)
# ... continue adding semicolons to the end of every top-level option ... hardware.graphics = {
enable = true;
enable32Bit = true;
}; # <--- SEMICOLON (Required)
programs.steam = { programs.steam = {
      enable = true; enable = true;
      remotePlay.openFirewall = true; remotePlay.openFirewall = true;
      package = pkgs.steam.override { package = pkgs.steam.override {
        extraPkgs = pkgs: with pkgs; [ extraPkgs = pkgs: with pkgs; [
          kdePackages.breeze kdePackages.breeze
        ]; ];
      }; };
    }; # <--- ADD SEMICOLON HERE }; # <--- SEMICOLON (Required)
    environment.sessionVariables = { environment.sessionVariables = {
      LIBDECOR_PLUGIN_DIR = "${pkgs.libdecor}/lib/libdecor/plugins-1"; LIBDECOR_PLUGIN_DIR = "${pkgs.libdecor}/lib/libdecor/plugins-1";
      GTK_PATH = "${pkgs.gtk3}/lib/gtk-3.0:${pkgs.gtk4}/lib/gtk-4.0"; GTK_PATH = "${pkgs.gtk3}/lib/gtk-3.0:${pkgs.gtk4}/lib/gtk-4.0";
    }; # <--- ADD SEMICOLON HERE }; # <--- SEMICOLON (Required)
    system.autoUpgrade = { system.autoUpgrade = {
      enable = true; enable = true;
      dates = "daily"; dates = "daily";
      persistent = true; persistent = true;
      allowReboot = false; allowReboot = false;
      flags = [ flags = [
        "--upgrade" "--upgrade"
        "--option" "tarball-ttl" "0" "--option" "tarball-ttl" "0"
      ]; ];
    }; # <--- ADD SEMICOLON HERE }; # <--- SEMICOLON (Required)
# Closing brace for the attribute set, closing parenthesis for lib.mkIf
}) })