aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-06-12 12:46:14 -0700
committerFranck Cuny <franck@fcuny.net>2025-06-12 12:46:14 -0700
commit6fff95981bfef5527518fbebac879c71877810ff (patch)
treeee12cecc6843ad931806109417e6aed865602ff3 /flake.nix
parentuse a dedicated SSH key for agenix (diff)
downloadinfra-6fff95981bfef5527518fbebac879c71877810ff.tar.gz
pass `self` to the home-manager modules
This is to avoid using relative paths, which is always annoying to get right.
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index fcbb262..504934d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -40,6 +40,7 @@
# Output config, or config for NixOS system
outputs =
{
+ self,
nixpkgs,
nixpkgsUnstable,
darwin,
@@ -88,7 +89,12 @@
];
mkSystem = import ./nix/lib/mkSystem.nix {
- inherit nixpkgs inputs overlays;
+ inherit
+ self
+ nixpkgs
+ inputs
+ overlays
+ ;
};
# Create a treefmt-nix evaluation for a system