From a771a84ee02a2c9f1b3eef9b5799419c7de9c8ba Mon Sep 17 00:00:00 2001 From: Superredstone Date: Sat, 9 Aug 2025 13:01:15 +0200 Subject: [PATCH] Replaced Steam with Millennium --- flake.lock | 78 +++++++++++++++++++++++++++++++++++++++++--- flake.nix | 8 +++-- home/default.nix | 2 +- lib/mksystem.nix | 2 ++ modules/packages.nix | 2 +- 5 files changed, 84 insertions(+), 8 deletions(-) diff --git a/flake.lock b/flake.lock index 5264285..3b9a1ae 100644 --- a/flake.lock +++ b/flake.lock @@ -50,6 +50,24 @@ } }, "flake-parts": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1749398372, + "narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_2": { "inputs": { "nixpkgs-lib": [ "nixvim", @@ -500,6 +518,26 @@ "type": "github" } }, + "millennium": { + "inputs": { + "flake-parts": "flake-parts", + "nixpkgs": "nixpkgs_2" + }, + "locked": { + "lastModified": 1754242145, + "narHash": "sha256-3z/6zBCyRA620pYxYdF7pz4AGrKzt4/Ln07hKpaEK3I=", + "ref": "refs/heads/main", + "rev": "6873424e527691daa5ccc2505c560ecebf880285", + "revCount": 2022, + "submodules": true, + "type": "git", + "url": "https://github.com/SteamClientHomebrew/Millennium" + }, + "original": { + "type": "git", + "url": "https://github.com/SteamClientHomebrew/Millennium" + } + }, "nixpkgs": { "locked": { "lastModified": 1753939845, @@ -516,6 +554,21 @@ "type": "github" } }, + "nixpkgs-lib": { + "locked": { + "lastModified": 1748740939, + "narHash": "sha256-rQaysilft1aVMwF14xIdGS3sj1yHlI6oKQNBRTF40cc=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "656a64127e9d791a334452c6b6606d17539476e2", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, "nixpkgs-stable-darwin": { "locked": { "lastModified": 1751290243, @@ -565,6 +618,22 @@ } }, "nixpkgs_2": { + "locked": { + "lastModified": 1750506804, + "narHash": "sha256-VLFNc4egNjovYVxDGyBYTrvVCgDYgENp5bVi9fPTDYc=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "4206c4cb56751df534751b058295ea61357bbbaa", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { "locked": { "lastModified": 1754651824, "narHash": "sha256-aB7ft6njy9EJfuW+rdToNChfRrHNRw/yTg5cSEnG+HI=", @@ -580,7 +649,7 @@ "type": "github" } }, - "nixpkgs_3": { + "nixpkgs_4": { "locked": { "lastModified": 1754393734, "narHash": "sha256-fbnmAwTQkuXHKBlcL5Nq1sMAzd3GFqCOQgEQw6Hy0Ak=", @@ -620,8 +689,8 @@ }, "nixvim_2": { "inputs": { - "flake-parts": "flake-parts", - "nixpkgs": "nixpkgs_3", + "flake-parts": "flake-parts_2", + "nixpkgs": "nixpkgs_4", "nuschtosSearch": "nuschtosSearch", "systems": "systems_4" }, @@ -693,7 +762,8 @@ "home-manager-stable-nixos": "home-manager-stable-nixos", "home-manager-unstable": "home-manager-unstable", "hyprland": "hyprland", - "nixpkgs": "nixpkgs_2", + "millennium": "millennium", + "nixpkgs": "nixpkgs_3", "nixpkgs-stable-darwin": "nixpkgs-stable-darwin", "nixpkgs-stable-nixos": "nixpkgs-stable-nixos", "nixpkgs-unstable": "nixpkgs-unstable", diff --git a/flake.nix b/flake.nix index 96f458b..a72e5f3 100644 --- a/flake.nix +++ b/flake.nix @@ -27,16 +27,20 @@ inputs.nixpkgs.follows = "nixpkgs-unstable"; }; hyprland.url = "github:hyprwm/Hyprland"; + millennium.url = "git+https://github.com/SteamClientHomebrew/Millennium"; }; - outputs = { self, nixpkgs, home-manager, nixvim, hyprland, ... }@inputs: + outputs = { self, nixpkgs, home-manager, nixvim, millennium, hyprland, ... }@inputs: let - overlays = []; + overlays = [ + millennium.overlays.default + ]; personalEmail = "patrickcanal3@gmail.com"; mkSystem = import ./lib/mksystem.nix { inherit overlays nixvim + millennium inputs; }; in diff --git a/home/default.nix b/home/default.nix index 6d75097..5e242bf 100644 --- a/home/default.nix +++ b/home/default.nix @@ -5,9 +5,9 @@ ./git.nix ./gnome.nix ./kitty.nix + ./mangohud.nix ./tmux.nix ./zoxide.nix - ./mangohud.nix ] ++ (if currentSystemDe == "hyprland" then [ ./hyprland ] else [] diff --git a/lib/mksystem.nix b/lib/mksystem.nix index dd8dbf8..6d2d764 100644 --- a/lib/mksystem.nix +++ b/lib/mksystem.nix @@ -2,6 +2,7 @@ { overlays, nixvim, + millennium, inputs, }: name: @@ -70,6 +71,7 @@ let isWSL = isWSL; isDarwin = isDarwin; nixvim = nixvim; + millennium = millennium; inputs = inputs; }; in diff --git a/modules/packages.nix b/modules/packages.nix index 60a8b83..652b3b8 100644 --- a/modules/packages.nix +++ b/modules/packages.nix @@ -61,7 +61,6 @@ openrgb prismlauncher protonplus - steam vesktop ] else [] ++ (if workSystem then [ @@ -84,6 +83,7 @@ programs.steam = if gamingSystem then { enable = true; + package = pkgs.steam-millennium; remotePlay.openFirewall = true; } else {};