summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--flake.nix3
-rw-r--r--system/prefect.nix6
2 files changed, 5 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index dff9c893..1249f2a9 100644
--- a/flake.nix
+++ b/flake.nix
@@ -5,9 +5,10 @@
     nixos-hardware.url = github:NixOS/nixos-hardware;
   };
 
-  outputs = { self, nixpkgs, nixpkgs-unstable, nixos-hardware }: {
+  outputs = { self, nixpkgs, ... }@attrs: {
     nixosConfigurations.prefect = nixpkgs.lib.nixosSystem {
       system = "x86_64-linux";
+      specialArgs = attrs;
       modules = [ ./system/prefect.nix ];
     };
   };
diff --git a/system/prefect.nix b/system/prefect.nix
index 6c80fd10..eeac53a6 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -1,8 +1,8 @@
-{ config, pkgs, ... }:
+{ config, pkgs, nixpkgs, nixpkgs-unstable, nixos-hardware, ... }:
 
 { imports = [
-    <nixos-hardware/common/pc/ssd>
-    <nixos-hardware/common/cpu/amd>
+    (nixos-hardware + "/common/pc/ssd")
+    (nixos-hardware + "/common/cpu/amd")
 
     ./settings/satoshipay.nix
     ./settings/base.nix