aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-06-28 12:43:33 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-06-28 12:43:33 +0200
commit32cac1749ca33c79c9932233c210af1bb19fae7b (patch)
tree971f9b31ad3cdeb22f1e05b8046f0bac994b8f40 /flake.nix
parentac2d96bfd1b5ae01bf161e3deecc5f4e881ae678 (diff)
Added agenix config and wireguard secrets
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index f44ea41..d1d1227 100644
--- a/flake.nix
+++ b/flake.nix
@@ -12,6 +12,9 @@
inputs.nixpkgs.follows = "nixpkgs";
};
+ agenix.url = "github:ryantm/agenix";
+ agenix.inputs.nixpkgs.follows = "nixpkgs";
+
# Theming - centralized color management
stylix = {
url = "github:danth/stylix/release-25.11";
@@ -35,6 +38,7 @@
nixpkgs,
nixpkgs-unstable,
home-manager,
+ agenix,
stylix,
fenix,
crane,
@@ -96,6 +100,10 @@
./system
./home/rices/${rice}/system.nix
home-manager.nixosModules.home-manager
+ agenix.nixosModules.default
+ {
+ environment.systemPackages = [agenix.packages.${system}.default];
+ }
stylix.nixosModules.stylix
(mkHomeManagerModule hostname rice)
];