From 2dae1db149f2e6d09d74cd87e3c285dd1396f1c9 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Thu, 22 Jan 2026 17:28:18 +0100 Subject: [PATCH] Added the RSI package --- flake.lock | 126 ++++++++++++++++++++++++--- modules/nixos/gaming/starCitizen.nix | 7 ++ 2 files changed, 122 insertions(+), 11 deletions(-) diff --git a/flake.lock b/flake.lock index 5c5984b..4c61ff5 100644 --- a/flake.lock +++ b/flake.lock @@ -50,6 +50,27 @@ } }, "flake-parts": { + "inputs": { + "nixpkgs-lib": [ + "nix-citizen", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1768135262, + "narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_2": { "inputs": { "nixpkgs-lib": "nixpkgs-lib" }, @@ -428,6 +449,29 @@ "type": "github" } }, + "nix-citizen": { + "inputs": { + "flake-parts": "flake-parts", + "nix-gaming": "nix-gaming", + "nix-github-actions": "nix-github-actions", + "nixpkgs": "nixpkgs_2", + "systems": "systems_2", + "treefmt-nix": "treefmt-nix" + }, + "locked": { + "lastModified": 1768987451, + "narHash": "sha256-zN+Cbz0gYNpMfteeAY6f92wpNpQLdBMyB5yNdFQ1U/o=", + "owner": "LovingMelody", + "repo": "nix-citizen", + "rev": "31a4425b2df9f53d8ee2ef02ce7f139d99a0ce53", + "type": "github" + }, + "original": { + "owner": "LovingMelody", + "repo": "nix-citizen", + "type": "github" + } + }, "nix-darwin": { "inputs": { "nixpkgs": [ @@ -451,15 +495,18 @@ }, "nix-gaming": { "inputs": { - "flake-parts": "flake-parts", - "nixpkgs": "nixpkgs_2" + "flake-parts": "flake-parts_2", + "nixpkgs": [ + "nix-citizen", + "nixpkgs" + ] }, "locked": { - "lastModified": 1768874893, - "narHash": "sha256-1WCbVm2Dqqb+HEuahu06l8lQ393P8jIAHEjM3jhm4gc=", + "lastModified": 1768732048, + "narHash": "sha256-jvKZrX7be2o2ULDymb8CgDqIjzJSOt2TQleGR82JiJw=", "owner": "fufexan", "repo": "nix-gaming", - "rev": "12c404b997930a1fe8ffcaa231f85fd8ebc6338a", + "rev": "7c05dff3d845ffd4bcca79cd28f651c3167638c1", "type": "github" }, "original": { @@ -468,6 +515,27 @@ "type": "github" } }, + "nix-github-actions": { + "inputs": { + "nixpkgs": [ + "nix-citizen", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1737420293, + "narHash": "sha256-F1G5ifvqTpJq7fdkT34e/Jy9VCyzd5XfJ9TO8fHhJWE=", + "owner": "nix-community", + "repo": "nix-github-actions", + "rev": "f4158fa080ef4503c8f4c820967d946c2af31ec9", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nix-github-actions", + "type": "github" + } + }, "nixpkgs": { "locked": { "lastModified": 1767379071, @@ -501,16 +569,16 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1768569498, - "narHash": "sha256-bB6Nt99Cj8Nu5nIUq0GLmpiErIT5KFshMQJGMZwgqUo=", + "lastModified": 1768564909, + "narHash": "sha256-Kell/SpJYVkHWMvnhqJz/8DqQg2b6PguxVWOuadbHCc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "be5afa0fcb31f0a96bf9ecba05a516c66fcd8114", + "rev": "e4bae1bd10c9c57b2cf517953ab70060a828ee6f", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixpkgs-unstable", + "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" } @@ -574,8 +642,8 @@ "inputs": { "home-manager": "home-manager", "hyprland": "hyprland", + "nix-citizen": "nix-citizen", "nix-darwin": "nix-darwin", - "nix-gaming": "nix-gaming", "nixpkgs": "nixpkgs_3", "sops-nix": "sops-nix", "spicetify-nix": "spicetify-nix" @@ -604,7 +672,7 @@ "spicetify-nix": { "inputs": { "nixpkgs": "nixpkgs_4", - "systems": "systems_2" + "systems": "systems_3" }, "locked": { "lastModified": 1767502559, @@ -650,6 +718,42 @@ "type": "github" } }, + "systems_3": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "treefmt-nix": { + "inputs": { + "nixpkgs": [ + "nix-citizen", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1768158989, + "narHash": "sha256-67vyT1+xClLldnumAzCTBvU0jLZ1YBcf4vANRWP3+Ak=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "e96d59dff5c0d7fddb9d113ba108f03c3ef99eca", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } + }, "xdph": { "inputs": { "hyprland-protocols": [ diff --git a/modules/nixos/gaming/starCitizen.nix b/modules/nixos/gaming/starCitizen.nix index 5e65c76..196fa85 100644 --- a/modules/nixos/gaming/starCitizen.nix +++ b/modules/nixos/gaming/starCitizen.nix @@ -1,4 +1,11 @@ +{ pkgs, inputs, ... }: + { + environment = { + systemPackages = with pkgs; [ + inputs.nix-citizen.packages.${system}.rsi-launcher + ]; + }; programs = { rsi-launcher = { enable = true;