Add osu module

Note that osu! is currently unfree since it depends on the bass audio
library.
This commit is contained in:
Donovan Glover 2023-05-16 21:15:45 -04:00
parent 855e82b8e7
commit 4f18602527
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 12 additions and 0 deletions

View File

@ -10,6 +10,7 @@
./modules/htop.nix
./modules/dual-function-keys.nix
./modules/tlp.nix
./modules/osu
];
boot.loader.systemd-boot.enable = true;

11
modules/osu/default.nix Normal file
View File

@ -0,0 +1,11 @@
{ pkgs, lib, ... }:
{
environment.systemPackages = with pkgs; [
osu-lazer-bin
];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"osu-lazer-bin"
];
}