Remove nix-gaming
This commit is contained in:
parent
cad56ad12f
commit
0545959f20
21
flake.lock
21
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",
|
||||
|
|
22
flake.nix
22
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;
|
||||
|
|
Loading…
Reference in a new issue