From ea199534e00b66a7432a7b39bce08f543b033f2d Mon Sep 17 00:00:00 2001 From: caem Date: Tue, 5 Nov 2024 13:50:01 +0100 Subject: [PATCH] This commit is a byproduct of your imagination This does not exist. Take your pills and move on with your day. --- flake.nix | 6 ++++++ modules/desktop/apps/games.nix | 11 +++++------ 2 files changed, 11 insertions(+), 6 deletions(-) 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; }