summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.nix4
-rw-r--r--sys/packages/default.nix8
-rw-r--r--users/sils/packages/default.nix3
3 files changed, 13 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 9f54ece..53c527f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -135,6 +135,7 @@
     nixvim,
     impermanence,
     wl-togglescreens,
+    ragenix,
     ...
   } @ attrs: let
     system = "x86_64-linux";
@@ -152,7 +153,7 @@
           useGlobalPkgs = true;
           useUserPackages = true;
           users.sils = import ./users/sils;
-          extraSpecialArgs = {inherit pkgs system sysLib river_init_lesser yambar_cpu yambar_memory prismlauncher nixvim impermanence wl-togglescreens;};
+          extraSpecialArgs = {inherit pkgs system sysLib river_init_lesser yambar_cpu yambar_memory prismlauncher nixvim impermanence wl-togglescreens ragenix;};
         };
       }
     ];
@@ -172,6 +173,7 @@
           nil
           statix
           alejandra
+          ragenix.packages."${system}".default # system secret management
         ];
       };
     };
diff --git a/sys/packages/default.nix b/sys/packages/default.nix
index ae2a539..989bff3 100644
--- a/sys/packages/default.nix
+++ b/sys/packages/default.nix
@@ -1,4 +1,8 @@
-{pkgs, ...}: {
+{
+  pkgs,
+  ragenix,
+  ...
+}: {
   environment.systemPackages = with pkgs; [
     # Core utils
     killall # kill programs by name
@@ -21,5 +25,7 @@
     nerdfonts # nice fonts, u know
 
     zsh-you-should-use # reminder for aliasses
+
+    ragenix.packages.${pkgs.system}.default # system secret management
   ];
 }
diff --git a/users/sils/packages/default.nix b/users/sils/packages/default.nix
index 1d383fc..f0e3b89 100644
--- a/users/sils/packages/default.nix
+++ b/users/sils/packages/default.nix
@@ -3,6 +3,7 @@
   pkgs,
   prismlauncher,
   wl-togglescreens,
+  ragenix,
   ...
 }: {
   home.packages = with pkgs;
@@ -141,6 +142,8 @@
     wl-togglescreens.packages.${pkgs.system}.wl-togglescreens # toggle screens
     wlr-randr # xrand for wayland, needed by wl-togglescreens
 
+    ragenix.packages.${pkgs.system}.default # system secret management
+
     # soispha
 
     #grades.outputs.packages.${system}.default