diff options
author | Alan Pearce | 2022-06-25 00:55:03 +0200 |
---|---|---|
committer | Alan Pearce | 2022-10-08 01:36:11 +0200 |
commit | 02622d2b20d014ddb479365cd4d7467398dd8389 (patch) | |
tree | 7d89a55ff0443370b8f465492c9531545f1aa4be | |
parent | 2dfb3476768af7444f94590a1ce6e5200d5cc663 (diff) | |
download | nixfiles-02622d2b20d014ddb479365cd4d7467398dd8389.tar.lz nixfiles-02622d2b20d014ddb479365cd4d7467398dd8389.tar.zst nixfiles-02622d2b20d014ddb479365cd4d7467398dd8389.zip |
Import nixos-hardware
-rw-r--r-- | flake.nix | 3 | ||||
-rw-r--r-- | system/prefect.nix | 6 |
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 |