nero: add moonshine package

This commit is contained in:
2026-08-09 19:33:25 -04:00
parent 0d7f093cba
commit 4cb8651603
3 changed files with 90 additions and 23 deletions
Generated
+58 -23
View File
@@ -424,11 +424,29 @@
"type": "github" "type": "github"
} }
}, },
"moonshine": {
"inputs": {
"nixpkgs": "nixpkgs_8"
},
"locked": {
"lastModified": 1786093376,
"narHash": "sha256-z13NzEbjCzPzfBpuU5HUKbz/MgosB0arQ9L6eqz5Gis=",
"owner": "hgaiser",
"repo": "moonshine",
"rev": "91602b5bcfed0a5189d97ed3e8ca6bf6bcae0ca0",
"type": "github"
},
"original": {
"owner": "hgaiser",
"repo": "moonshine",
"type": "github"
}
},
"nix-cachyos-kernel": { "nix-cachyos-kernel": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_3", "flake-compat": "flake-compat_3",
"flake-parts": "flake-parts_2", "flake-parts": "flake-parts_2",
"nixpkgs": "nixpkgs_8" "nixpkgs": "nixpkgs_9"
}, },
"locked": { "locked": {
"lastModified": 1785956845, "lastModified": 1785956845,
@@ -486,7 +504,7 @@
"flake-compat": "flake-compat_4", "flake-compat": "flake-compat_4",
"flake-parts": "flake-parts_3", "flake-parts": "flake-parts_3",
"git-hooks": "git-hooks_2", "git-hooks": "git-hooks_2",
"nixpkgs": "nixpkgs_9" "nixpkgs": "nixpkgs_10"
}, },
"locked": { "locked": {
"lastModified": 1785985024, "lastModified": 1785985024,
@@ -599,7 +617,7 @@
"inputs": { "inputs": {
"flake-compat": "flake-compat_5", "flake-compat": "flake-compat_5",
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs_11", "nixpkgs": "nixpkgs_12",
"nvfetcher": "nvfetcher", "nvfetcher": "nvfetcher",
"systems": "systems_2", "systems": "systems_2",
"treefmt-nix": "treefmt-nix_2" "treefmt-nix": "treefmt-nix_2"
@@ -619,6 +637,22 @@
} }
}, },
"nixpkgs_10": { "nixpkgs_10": {
"locked": {
"lastModified": 1785542685,
"narHash": "sha256-sjfvXMbG5pCFgpvw2OZAFcZiTvrppCWvnB6cuGrSY08=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f8e81fc7eb063db454f563cdd596fb96a5ad1497",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_11": {
"locked": { "locked": {
"lastModified": 1785989512, "lastModified": 1785989512,
"narHash": "sha256-HFQhkQcl5D1hUNoen3SGHCSFCt2Bg6uP+HgbrnA3InQ=", "narHash": "sha256-HFQhkQcl5D1hUNoen3SGHCSFCt2Bg6uP+HgbrnA3InQ=",
@@ -634,7 +668,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_11": { "nixpkgs_12": {
"locked": { "locked": {
"lastModified": 1785967620, "lastModified": 1785967620,
"narHash": "sha256-IItrdb7Puk05RqOBWZYFC5X6Wl1sJmCfh5MWVHw5iMM=", "narHash": "sha256-IItrdb7Puk05RqOBWZYFC5X6Wl1sJmCfh5MWVHw5iMM=",
@@ -650,7 +684,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_12": { "nixpkgs_13": {
"locked": { "locked": {
"lastModified": 1785967620, "lastModified": 1785967620,
"narHash": "sha256-IItrdb7Puk05RqOBWZYFC5X6Wl1sJmCfh5MWVHw5iMM=", "narHash": "sha256-IItrdb7Puk05RqOBWZYFC5X6Wl1sJmCfh5MWVHw5iMM=",
@@ -763,6 +797,22 @@
} }
}, },
"nixpkgs_8": { "nixpkgs_8": {
"locked": {
"lastModified": 1784497964,
"narHash": "sha256-vlHUuqAcbcH2RKmHbPiuQzbv1pnzzavXnI62RD0bqCU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "241313f4e8e508cb9b13278c2b0fa25b9ca27163",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_9": {
"locked": { "locked": {
"lastModified": 1785925688, "lastModified": 1785925688,
"narHash": "sha256-taRLhiPA3s8J5+b6BLzUugC/0T4mQuyhkPiqr+fai2w=", "narHash": "sha256-taRLhiPA3s8J5+b6BLzUugC/0T4mQuyhkPiqr+fai2w=",
@@ -778,22 +828,6 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_9": {
"locked": {
"lastModified": 1785542685,
"narHash": "sha256-sjfvXMbG5pCFgpvw2OZAFcZiTvrppCWvnB6cuGrSY08=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f8e81fc7eb063db454f563cdd596fb96a5ad1497",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nvfetcher": { "nvfetcher": {
"inputs": { "inputs": {
"flake-compat": [ "flake-compat": [
@@ -866,11 +900,12 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"lazyvim": "lazyvim", "lazyvim": "lazyvim",
"millennium": "millennium", "millennium": "millennium",
"moonshine": "moonshine",
"nix-cachyos-kernel": "nix-cachyos-kernel", "nix-cachyos-kernel": "nix-cachyos-kernel",
"nix-darwin": "nix-darwin", "nix-darwin": "nix-darwin",
"nix-flatpak": "nix-flatpak", "nix-flatpak": "nix-flatpak",
"nix-gaming": "nix-gaming", "nix-gaming": "nix-gaming",
"nixpkgs": "nixpkgs_10", "nixpkgs": "nixpkgs_11",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"nixpkgs-xr": "nixpkgs-xr", "nixpkgs-xr": "nixpkgs-xr",
"scopebuddy": "scopebuddy" "scopebuddy": "scopebuddy"
@@ -895,7 +930,7 @@
}, },
"scopebuddy": { "scopebuddy": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_12" "nixpkgs": "nixpkgs_13"
}, },
"locked": { "locked": {
"lastModified": 1785787215, "lastModified": 1785787215,
+3
View File
@@ -25,6 +25,7 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
moonshine.url = "github:hgaiser/moonshine";
cheatengine.url = "github:Hy4ri/cheatengine-flake"; cheatengine.url = "github:Hy4ri/cheatengine-flake";
millennium.url = "github:SteamClientHomebrew/Millennium?dir=packages/nix"; millennium.url = "github:SteamClientHomebrew/Millennium?dir=packages/nix";
scopebuddy.url = "github:HikariKnight/ScopeBuddy"; scopebuddy.url = "github:HikariKnight/ScopeBuddy";
@@ -47,6 +48,7 @@
millennium, millennium,
nix-cachyos-kernel, nix-cachyos-kernel,
cheatengine, cheatengine,
moonshine,
... ...
}: }:
let let
@@ -70,6 +72,7 @@
nixpkgs-xr.nixosModules.nixpkgs-xr nixpkgs-xr.nixosModules.nixpkgs-xr
nix-flatpak.nixosModules.nix-flatpak nix-flatpak.nixosModules.nix-flatpak
moonshine.nixosModules.default
affinity-thumbnailer-kde.nixosModules.default affinity-thumbnailer-kde.nixosModules.default
./hosts/nero/hardware.nix ./hosts/nero/hardware.nix
+29
View File
@@ -83,6 +83,35 @@ in
openFirewall = true; openFirewall = true;
autoStart = true; autoStart = true;
}; };
moonshine = {
enable = true;
user = "frank";
uid = 1000;
openFirewall = true;
settings = {
application = [
{
title = "Steam";
command = [
"/run/current-system/sw/bin/steam"
"steam://open/bigpicture"
];
}
];
application_scanner = [
{
type = "steam";
library = "$HOME/.local/share/Steam";
command = [
"/run/current-system/sw/bin/steam"
"-bigpicture"
"steam://rungameid/{game_id}"
];
}
];
};
};
}; };
programs = { programs = {