From 0545959f205252916b1ed84ea582d9834b2be182 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Wed, 7 Jun 2023 11:06:35 +0200 Subject: [PATCH] Remove nix-gaming --- flake.lock | 21 --------------------- flake.nix | 22 ---------------------- 2 files changed, 43 deletions(-) diff --git a/flake.lock b/flake.lock index 371d543..8834cb9 100644 --- a/flake.lock +++ b/flake.lock @@ -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", diff --git a/flake.nix b/flake.nix index 669585d..0793cd5 100644 --- a/flake.nix +++ b/flake.nix @@ -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;