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; [ environment.systemPackages = with pkgs; [
      lutris lutris
      adwaita-icon-theme adwaita-icon-theme
      nix-index nix-index
      libdecor libdecor
      pkgs.lib32.libdecor pkgs.lib32.libdecor
    ]; # <--- ADD SEMICOLON HERE ]; # <--- SEMICOLON (Required)
hardware.graphics = {
enable = true;
enable32Bit = true;
}; # <--- SEMICOLON (Required)
    hardware.graphics = {
      enable = true;
      enable32Bit = true;
    }; # <--- ADD SEMICOLON HERE
# ... continue adding semicolons to the end of every top-level option ...
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 = {
      enable = true;
      dates = "daily";
      persistent = true;
      allowReboot = false;
      flags = [
        "--upgrade"
        "--option" "tarball-ttl" "0"
      ];
    }; # <--- ADD SEMICOLON HERE
system.autoUpgrade = {
enable = true;
dates = "daily";
persistent = true;
allowReboot = false;
flags = [
"--upgrade"
"--option" "tarball-ttl" "0"
];
}; # <--- SEMICOLON (Required)
# Closing brace for the attribute set, closing parenthesis for lib.mkIf
}) })