about summary refs log tree commit diff
path: root/lib/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/default.nix b/lib/default.nix
index aa8df80..662938e 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -1,6 +1,6 @@
 {
-  lib,
   inputs,
+  lib,
   system,
   ...
 }:
@@ -86,7 +86,7 @@ rec {
   # ```
   # nixosConfigurations.machine = nixosSystem {
   #   modules = [
-  #     (_: modulesFromRef "services/security/foobar.nix" "azahi:foobar-fix" "sha256-AAA...")
+  #     (_: moduleFromRef "services/security/foobar.nix" "azahi:foobar-fix" "sha256-AAA...")
   #   ];
   # };
   # ```
@@ -96,7 +96,7 @@ rec {
     imports = [
       (
         let
-          src = builtins.fetchTarball {
+          src = inputs.nixpkgs.legacyPackages.${system}.fetchzip {
             url =
               let
                 cons = splitString ":" ref;

Consider giving Nix/NixOS a try! <3