Add osu-stable again

This commit is contained in:
Natsu Kagami 2023-09-26 22:31:25 +02:00
parent b300f43060
commit f9ed1848a2
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 92 additions and 10 deletions

View file

@ -44,6 +44,7 @@
};
eza.url = github:eza-community/eza/v0.12.0;
eza.inputs.nixpkgs.follows = "nixpkgs";
nix-gaming.url = github:fufexan/nix-gaming;
# --- Sources
kakoune.url = github:mawww/kakoune;
@ -88,6 +89,14 @@
};
nixpkgsAsRegistry = nixpkgsAsRegistry_ nixpkgs;
osuStable = { pkgs, ... }: {
nix.settings = {
substituters = [ "https://nix-gaming.cachix.org" ];
trusted-public-keys = [ "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=" ];
};
environment.systemPackages = [ inputs.nix-gaming.packages.${pkgs.hostPlatform.system}.osu-stable ];
};
# Common Nix modules
common-nix = stable: { ... }: {
imports = [
@ -133,6 +142,7 @@
modules = [
(common-nixos nixpkgs)
./nki-home/configuration.nix
osuStable
inputs.home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;