diff --git a/modules/desktop/game/default.nix b/modules/desktop/game/default.nix index 152ba717..1a840186 100644 --- a/modules/desktop/game/default.nix +++ b/modules/desktop/game/default.nix @@ -1,10 +1,4 @@ { - imports = [ - ./steam - ./lutris - ./wine - ./grapejuice - ./tetrio - ./prismlauncher - ]; + imports = + [ ./steam ./lutris ./wine ./grapejuice ./tetrio ./prismlauncher ./osu ]; } diff --git a/modules/desktop/game/osu/default.nix b/modules/desktop/game/osu/default.nix new file mode 100644 index 00000000..11287ac8 --- /dev/null +++ b/modules/desktop/game/osu/default.nix @@ -0,0 +1,9 @@ +{ outputs, options, config, lib, pkgs, ... }: +let cfg = config.modules.desktop.game.osu; +in { + options.modules.desktop.game.osu = { enable = lib.mkEnableOption false; }; + + config = lib.mkIf cfg.enable { + users.users.sako.packages = with pkgs; [ osu-lazer-bin ]; + }; +}