diff --git a/flake.nix b/flake.nix index 797ebad..c17b26c 100644 --- a/flake.nix +++ b/flake.nix @@ -15,6 +15,11 @@ inputs.nixpkgs.follows = "nixpkgs"; inputs.home-manager.follows = "home-manager"; }; + + aagl = { + url = "github:ezKEa/aagl-gtk-on-nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = { @@ -23,6 +28,7 @@ home-manager, nur, plasma-manager, + aagl, ... } @ inputs: let lib = nixpkgs.lib.extend (final: prev: diff --git a/modules/desktop/apps/games.nix b/modules/desktop/apps/games.nix index 932a065..60aae98 100644 --- a/modules/desktop/apps/games.nix +++ b/modules/desktop/apps/games.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, inputs, ... }: { environment.persistence."/nix/persist".users.hu.directories = [ @@ -27,10 +27,9 @@ protontricks ]; - # Minecraft server - networking.firewall = { - allowedTCPPorts = [ 25565 ]; - allowedUDPPorts = [ 25565 ]; - }; + imports = [ inputs.aagl.nixosModules.default ]; + nix.settings = inputs.aagl.nixConfig; + + programs.anime-game-launcher.enable = true; }