Remove nix-gaming
This commit is contained in:
parent
cad56ad12f
commit
0545959f20
21
flake.lock
21
flake.lock
|
@ -359,26 +359,6 @@
|
||||||
"type": "github"
|
"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": {
|
"nixos-m1": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -559,7 +539,6 @@
|
||||||
"kak-lsp": "kak-lsp",
|
"kak-lsp": "kak-lsp",
|
||||||
"kakoune": "kakoune",
|
"kakoune": "kakoune",
|
||||||
"mpd-mpris": "mpd-mpris",
|
"mpd-mpris": "mpd-mpris",
|
||||||
"nix-gaming": "nix-gaming",
|
|
||||||
"nixos-m1": "nixos-m1",
|
"nixos-m1": "nixos-m1",
|
||||||
"nixpkgs": "nixpkgs_4",
|
"nixpkgs": "nixpkgs_4",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
|
|
22
flake.nix
22
flake.nix
|
@ -23,8 +23,6 @@
|
||||||
# Imported apps
|
# Imported apps
|
||||||
rnix-lsp.url = "github:nix-community/rnix-lsp";
|
rnix-lsp.url = "github:nix-community/rnix-lsp";
|
||||||
youmubot.url = "github:natsukagami/youmubot";
|
youmubot.url = "github:natsukagami/youmubot";
|
||||||
nix-gaming.url = github:fufexan/nix-gaming;
|
|
||||||
nix-gaming.inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
swayfx = {
|
swayfx = {
|
||||||
url = github:WillPower3309/swayfx;
|
url = github:WillPower3309/swayfx;
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
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
|
in
|
||||||
{
|
{
|
||||||
overlays.default = lib.composeManyExtensions overlays;
|
overlays.default = lib.composeManyExtensions overlays;
|
||||||
|
@ -141,7 +120,6 @@
|
||||||
modules = [
|
modules = [
|
||||||
(common-nixos nixpkgs)
|
(common-nixos nixpkgs)
|
||||||
./nki-home/configuration.nix
|
./nki-home/configuration.nix
|
||||||
enableOsuStable
|
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
|
|
Loading…
Reference in a new issue