diff --git a/hosts/desktop1/configuration.nix b/hosts/desktop1/configuration.nix index 7f72133..1303474 100644 --- a/hosts/desktop1/configuration.nix +++ b/hosts/desktop1/configuration.nix @@ -88,6 +88,7 @@ alacritty.enable = true; ardour.enable = true; mail.enable = true; + supertuxkart.enable = true; flatpak = { enable = true; media.enable = true; diff --git a/modules/nix/games/default.nix b/modules/nix/games/default.nix index e122823..348bfeb 100644 --- a/modules/nix/games/default.nix +++ b/modules/nix/games/default.nix @@ -2,5 +2,6 @@ { imports = [ ./steam.nix + ./supertuxkart.nix ]; } diff --git a/modules/nix/games/supertuxkart.nix b/modules/nix/games/supertuxkart.nix new file mode 100644 index 0000000..2880406 --- /dev/null +++ b/modules/nix/games/supertuxkart.nix @@ -0,0 +1,20 @@ +{ + lib, + config, + pkgs, + ... +}: +let + inherit (lib) mkIf mkOption types; +in +{ + options.smayzy.supertuxkart.enable = mkOption { + type = types.bool; + default = false; + description = "supertuxkart"; + }; + + config = mkIf config.smayzy.supertuxkart.enable { + environment.systemPackages = with pkgs; [ supertuxkart ]; + }; +}