From eab2fdb85bd86661c10e7e7b8bc5a841f71430a6 Mon Sep 17 00:00:00 2001 From: Madeline Hashcube Date: Wed, 27 May 2026 23:32:31 -0500 Subject: [PATCH] millennium doesn't fucking work (yet) --- flake.lock | 105 +++++++++++++++++++++++++++++++------ flake.nix | 57 ++++++++++---------- modules/programs/steam.nix | 7 ++- 3 files changed, 122 insertions(+), 47 deletions(-) diff --git a/flake.lock b/flake.lock index ff4d628..21a607a 100644 --- a/flake.lock +++ b/flake.lock @@ -235,11 +235,67 @@ "type": "github" } }, + "luajit-src": { + "flake": false, + "locked": { + "lastModified": 1763177035, + "narHash": "sha256-oYD86MqmlJpiCuEs4LwVtxvarPtz1RPWm8nJqNE0sBs=", + "owner": "SteamClientHomebrew", + "repo": "LuaJIT", + "rev": "89550023569c3e195e75e12951c067fe5591e0d2", + "type": "github" + }, + "original": { + "owner": "SteamClientHomebrew", + "ref": "v2.1", + "repo": "LuaJIT", + "type": "github" + } + }, + "millennium": { + "inputs": { + "luajit-src": "luajit-src", + "millennium-src": "millennium-src", + "nixpkgs": "nixpkgs_7" + }, + "locked": { + "dir": "packages/nix", + "lastModified": 1779813116, + "narHash": "sha256-38Bm3h1l5LMPZUhviiK8eg7PoTeckxv3uQmFCWEXid4=", + "owner": "SteamClientHomebrew", + "repo": "Millennium", + "rev": "e2997de8fa6f5fab2e72c456b74a83fd01035ff1", + "type": "github" + }, + "original": { + "dir": "packages/nix", + "owner": "SteamClientHomebrew", + "repo": "Millennium", + "type": "github" + } + }, + "millennium-src": { + "flake": false, + "locked": { + "lastModified": 1778867291, + "narHash": "sha256-NAnUiDGX+dHSj6OgmJgTEnNHyL8WkOGxxt3T3NDoI/Q=", + "owner": "SteamClientHomebrew", + "repo": "Millennium", + "rev": "233f417dd99b3ece34d15b75e7cf5fd9d4487f15", + "type": "github" + }, + "original": { + "owner": "SteamClientHomebrew", + "repo": "Millennium", + "rev": "233f417dd99b3ece34d15b75e7cf5fd9d4487f15", + "type": "github" + } + }, "niri": { "inputs": { "niri-stable": "niri-stable", "niri-unstable": "niri-unstable", - "nixpkgs": "nixpkgs_7", + "nixpkgs": "nixpkgs_8", "nixpkgs-stable": "nixpkgs-stable", "xwayland-satellite-stable": "xwayland-satellite-stable", "xwayland-satellite-unstable": "xwayland-satellite-unstable" @@ -367,6 +423,22 @@ } }, "nixpkgs_10": { + "locked": { + "lastModified": 1774106199, + "narHash": "sha256-US5Tda2sKmjrg2lNHQL3jRQ6p96cgfWh3J1QBliQ8Ws=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "6c9a78c09ff4d6c21d0319114873508a6ec01655", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_11": { "locked": { "lastModified": 1775710090, "narHash": "sha256-ar3rofg+awPB8QXDaFJhJ2jJhu+KqN/PRCXeyuXR76E=", @@ -382,7 +454,7 @@ "type": "github" } }, - "nixpkgs_11": { + "nixpkgs_12": { "locked": { "lastModified": 1777954456, "narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=", @@ -398,7 +470,7 @@ "type": "github" } }, - "nixpkgs_12": { + "nixpkgs_13": { "locked": { "lastModified": 1778443072, "narHash": "sha256-zi7/fsqM/kFdNuED//4WOCUtezGtKKqRNORjMvfwjnA=", @@ -495,15 +567,15 @@ }, "nixpkgs_7": { "locked": { - "lastModified": 1778869304, - "narHash": "sha256-30sZNZoA1cqF5JNO9fVX+wgiQYjB7HJqqJ4ztCDeBZE=", - "owner": "NixOS", + "lastModified": 1770115704, + "narHash": "sha256-KHFT9UWOF2yRPlAnSXQJh6uVcgNcWlFqqiAZ7OVlHNc=", + "owner": "nixos", "repo": "nixpkgs", - "rev": "d233902339c02a9c334e7e593de68855ad26c4cb", + "rev": "e6eae2ee2110f3d31110d5c222cd395303343b08", "type": "github" }, "original": { - "owner": "NixOS", + "owner": "nixos", "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" @@ -527,11 +599,11 @@ }, "nixpkgs_9": { "locked": { - "lastModified": 1774106199, - "narHash": "sha256-US5Tda2sKmjrg2lNHQL3jRQ6p96cgfWh3J1QBliQ8Ws=", + "lastModified": 1778869304, + "narHash": "sha256-30sZNZoA1cqF5JNO9fVX+wgiQYjB7HJqqJ4ztCDeBZE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "6c9a78c09ff4d6c21d0319114873508a6ec01655", + "rev": "d233902339c02a9c334e7e593de68855ad26c4cb", "type": "github" }, "original": { @@ -633,7 +705,7 @@ }, "protonmail-bridge": { "inputs": { - "nixpkgs": "nixpkgs_9", + "nixpkgs": "nixpkgs_10", "systems": "systems_5" }, "locked": { @@ -659,8 +731,9 @@ "frc-nix": "frc-nix", "home-manager": "home-manager_2", "jovian": "jovian", + "millennium": "millennium", "niri": "niri", - "nixpkgs": "nixpkgs_8", + "nixpkgs": "nixpkgs_9", "nixvim": "nixvim", "noctalia": "noctalia", "noctalia-qs": "noctalia-qs", @@ -802,7 +875,7 @@ "elephant": [ "elephant" ], - "nixpkgs": "nixpkgs_10", + "nixpkgs": "nixpkgs_11", "systems": "systems_6" }, "locked": { @@ -854,7 +927,7 @@ }, "ytpm": { "inputs": { - "nixpkgs": "nixpkgs_11", + "nixpkgs": "nixpkgs_12", "systems": "systems_7" }, "locked": { @@ -874,7 +947,7 @@ "zen-browser": { "inputs": { "home-manager": "home-manager_3", - "nixpkgs": "nixpkgs_12" + "nixpkgs": "nixpkgs_13" }, "locked": { "lastModified": 1779093899, diff --git a/flake.nix b/flake.nix index 2dfb8b0..9cfd154 100644 --- a/flake.nix +++ b/flake.nix @@ -40,7 +40,9 @@ inputs.nixpkgs.follows = "nixpkgs"; }; protonmail-bridge.url = "github:hashcube-dev/protonmail-bridge-free-flake"; + ytpm.url = "git+https://tangled.org/did:plc:o3dguei6niggn2uohnr2ir2i"; + millennium.url = "github:SteamClientHomebrew/Millennium?dir=packages/nix"; }; outputs = { @@ -58,62 +60,59 @@ plasma-manager, protonmail-bridge, ytpm, + millennium, ... }@inputs:{ - nixosConfigurations = { + nixosConfigurations = + let + sharedMods = [ + ./modules/users/hashcube.nix + ./modules/. + catppuccin.nixosModules.catppuccin + home-manager.nixosModules.home-manager + ]; + overlays = [ + ]; + nixpkgsOpts = { + inherit overlays; + config.allowUnfree = true; + system = "x86_64-linux"; + }; + in + { prism = nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs; - nixpkgs = { - config.allowUnfree = true; - system = "x86_64-linux"; - }; + nixpkgs = { inherit nixpkgsOpts; }; }; modules = [ agenix.nixosModules.default - catppuccin.nixosModules.catppuccin - home-manager.nixosModules.home-manager niri.nixosModules.niri copyparty.nixosModules.default - ./configurations/hosts/prism/configuration.nix - ./modules/users/hashcube.nix - ./modules/network/copyparty/prism.nix - - ./modules/. - ./modules/nvidia.nix - ]; + ] ++ sharedMods; }; slate = nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs; - nixpkgs = { - config.allowUnfree = true; - system = "x86_64-linux"; - }; + nixpkgs = { inherit nixpkgsOpts; }; }; modules = [ - catppuccin.nixosModules.catppuccin - home-manager.nixosModules.home-manager niri.nixosModules.niri - ./configurations/hosts/slate/configuration.nix - ./modules/. - # ./modules/display/cinnamon.nix - ./modules/users/hashcube.nix - ]; + ] ++ sharedMods; }; iolite = nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs; - nixpkgs = { - config.allowUnfree = true; - system = "x86_64-linux"; - }; + nixpkgs = { inherit nixpkgsOpts; }; }; + # Does not use shared mods because iolite is special and was kinda + # forced into this system. I should really make things change based + # on what host I'm building, but chances are I won't modules = [ catppuccin.nixosModules.catppuccin home-manager.nixosModules.home-manager diff --git a/modules/programs/steam.nix b/modules/programs/steam.nix index 3e50e04..9744cd2 100644 --- a/modules/programs/steam.nix +++ b/modules/programs/steam.nix @@ -1,5 +1,8 @@ -{ ... }: +{ inputs, ... }: { - programs.steam.enable = true; + programs.steam = { + # package = inputs.millennium.packages.x86_64-linux.millennium-steam; + enable = true; + }; } -- 2.51.2