ctucx.git: nixfiles

ctucx' nixfiles

commit f27a1c2433952390c0a88cd7642f2a69c8db2b91
parent 44b145dc6d6e2a225aa10ddc6771a4df60ad8466
Author: Leah (ctucx) <git@ctu.cx>
Date: Thu, 23 Feb 2023 16:52:28 +0100

flake[agenix]: fix syntax for newer version
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/flake.nix b/flake.nix
@@ -11,7 +11,7 @@
         unstable = inputs.nixpkgsUnstable.legacyPackages.${prev.system};
       })
 
-      inputs.agenix.overlay
+      inputs.agenix.overlays.default
       inputs.colmena.overlay
 
       inputs.stagit.overlay

@@ -136,7 +136,7 @@
       type  = "github";
       owner = "numtide";
       repo  = "flake-utils";
-      ref   = "master";
+      ref   = "main";
     };
 
     impermanence = {
diff --git a/modules/default.nix b/modules/default.nix
@@ -4,7 +4,7 @@
 
   imports = (builtins.concatLists [
     (if (currentSystem == "x86_64-linux") then [
-     inputs.agenix.nixosModule
+     inputs.agenix.nixosModules.default
      ./linux/restic-backups.nix
      ./linux/vnstati
      ./linux/desktop-speakers.nix

@@ -14,6 +14,7 @@
      ./linux/gotosocial.nix
     ] else [])
     (if (currentSystem == "aarch64-darwin") then [
+      inputs.agenix.darwinModules.default
       ./darwin/quirks.nix
       ./darwin/hidutil.nix
       ./darwin/syncthing.nix