Remove nix-gaming

This commit is contained in:
Natsu Kagami 2023-06-07 11:06:35 +02:00
parent cad56ad12f
commit 0545959f20
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 0 additions and 43 deletions

View file

@ -359,26 +359,6 @@
"type": "github"
}
},
"nix-gaming": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1681779687,
"narHash": "sha256-pTv3fJHb4BAqGZRu6xQU/wwL6CilmHvCUK8qaTOpEgY=",
"owner": "fufexan",
"repo": "nix-gaming",
"rev": "299ee41e7bec178507e1623f9b55036ef457379a",
"type": "github"
},
"original": {
"owner": "fufexan",
"repo": "nix-gaming",
"type": "github"
}
},
"nixos-m1": {
"inputs": {
"nixpkgs": [
@ -559,7 +539,6 @@
"kak-lsp": "kak-lsp",
"kakoune": "kakoune",
"mpd-mpris": "mpd-mpris",
"nix-gaming": "nix-gaming",
"nixos-m1": "nixos-m1",
"nixpkgs": "nixpkgs_4",
"nixpkgs-unstable": "nixpkgs-unstable",

View file

@ -23,8 +23,6 @@
# Imported apps
rnix-lsp.url = "github:nix-community/rnix-lsp";
youmubot.url = "github:natsukagami/youmubot";
nix-gaming.url = github:fufexan/nix-gaming;
nix-gaming.inputs.nixpkgs.follows = "nixpkgs";
swayfx = {
url = github:WillPower3309/swayfx;
inputs.nixpkgs.follows = "nixpkgs";
@ -94,25 +92,6 @@
];
};
enableOsuStable = { lib, ... }: {
imports = [ inputs.nix-gaming.nixosModules.pipewireLowLatency ];
services.pipewire = {
enable = true;
# alsa is optional
alsa.enable = true;
alsa.support32Bit = true;
# needed for osu
pulse.enable = true;
lowLatency.enable = true;
};
hardware.pulseaudio.enable = lib.mkOverride 0 false;
nix.settings.substituters = [ "https://nix-gaming.cachix.org" ];
nix.settings.trusted-public-keys = [ "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4=" ];
environment.systemPackages = [ inputs.nix-gaming.packages.x86_64-linux.osu-stable ];
};
in
{
overlays.default = lib.composeManyExtensions overlays;
@ -141,7 +120,6 @@
modules = [
(common-nixos nixpkgs)
./nki-home/configuration.nix
enableOsuStable
inputs.home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;