Add osu-stable again
This commit is contained in:
parent
b300f43060
commit
f9ed1848a2
2 changed files with 92 additions and 10 deletions
10
flake.nix
10
flake.nix
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue