diff --git a/flake.nix b/flake.nix index 5e365d01..4ad5eb6f 100644 --- a/flake.nix +++ b/flake.nix @@ -85,7 +85,7 @@ # Devshell for bootstrapping; acessible via 'nix develop' devShells = libx.forAllSystems (system: let pkgs = nixpkgs.legacyPackages.${system}; - in import ./shell.nix { inherit pkgs sops-nix deploy-rs; } + in import ./shell.nix { inherit pkgs sops-nix deploy-rs system; } ); }; } \ No newline at end of file diff --git a/shell.nix b/shell.nix index 4268c241..6ad2d7b5 100644 --- a/shell.nix +++ b/shell.nix @@ -1,4 +1,4 @@ -{ pkgs, sops-nix, deploy-rs, ... }: { +{ pkgs, sops-nix, deploy-rs, system, ... }: { default = pkgs.mkShell { NIX_CONFIG = "experimental-features = nix-command flakes"; # imports all files ending in .asc/.gpg