From 4b013738e1718b33e526b17f930b34703dff2710 Mon Sep 17 00:00:00 2001
From: Gabriella Bere <contact@gabbie.blue>
Date: Fri, 13 Sep 2024 16:44:28 +0100
Subject: [PATCH] added aagl projects and enabled hsr

---
 flake.nix        | 8 +++++++-
 modules/aagl.nix | 3 +++
 2 files changed, 10 insertions(+), 1 deletion(-)
 create mode 100644 modules/aagl.nix

diff --git a/flake.nix b/flake.nix
index c6d3793..74c3a15 100644
--- a/flake.nix
+++ b/flake.nix
@@ -30,6 +30,10 @@
       url = "github:nix-community/disko";
       inputs.nixpkgs.follows = "nixpkgs";
     };
+    aagl = {
+      url = "github.ezKEa/aagl-gtk-on-nix";
+      inputs.nixpkgs.follows = "nixpkgs";
+    };
     satisfactory-server = {
       url = "github:nekowinston/satisfactory-server-flake";
       inputs.nixpkgs.follows = "nixpkgs";
@@ -53,7 +57,9 @@
 	./modules/nh.nix
         ./modules/waydroid.nix
         ./modules/packages.nix
-
+	./modules/aagl.nix
+        inputs.aagl.nixosModules.default
+	{ nix.settings = aagl.nixConfig; } # Setup cachix for aagl projects
         # Imports home-manager module for use within nixos, not reccomended for use WITH standalone version
 #        inputs.home-manager.nixosModules.default
       ];
diff --git a/modules/aagl.nix b/modules/aagl.nix
new file mode 100644
index 0000000..6e10788
--- /dev/null
+++ b/modules/aagl.nix
@@ -0,0 +1,3 @@
+{config, ... }: {
+  programs.honkers-railway-launcher.enable = true;
+}