about summary refs log tree commit diff stats
path: root/sys/svcs/nix/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-12-09 13:19:46 +0100
committerSoispha <soispha@vhack.eu>2023-12-09 13:19:46 +0100
commite97702e7dfe69f2a3212a64b44dc6c6d04d24861 (patch)
treec6cae834cc1f0c159d59fe3a1db819fbd1e605b1 /sys/svcs/nix/default.nix
parentfix(hm/conf/nvim/plgs/lsp/server/pylyzer): Disable again (diff)
downloadnixos-config-e97702e7dfe69f2a3212a64b44dc6c6d04d24861.tar.gz
nixos-config-e97702e7dfe69f2a3212a64b44dc6c6d04d24861.zip
fix(flake): Use self instead of a reimport of itself
Diffstat (limited to '')
-rw-r--r--sys/svcs/nix/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/svcs/nix/default.nix b/sys/svcs/nix/default.nix
index 4faafc92..11bae56f 100644
--- a/sys/svcs/nix/default.nix
+++ b/sys/svcs/nix/default.nix
@@ -3,11 +3,10 @@
   # flakes
   nixpkgs_as_input,
   templates,
-  my_flake_as_input,
+  self,
   ...
 }: let
   nixpkgs = nixpkgs_as_input;
-  my_flake = my_flake_as_input;
 in {
   nix = {
     package = pkgs.nixStable;
@@ -18,8 +17,8 @@ in {
 
       t.flake = templates;
 
-      my_flake.flake = my_flake;
-      m.flake = my_flake;
+      my_flake.flake = self;
+      m.flake = self;
     };
 
     gc = {