diff --git a/Justfile b/Justfile index 76501a25..d2a8dece 100644 --- a/Justfile +++ b/Justfile @@ -21,24 +21,6 @@ install host: --file ./default.nix \ --attr "nixosConfigurations.{{ host }}" -env name action profilePath="~/.environments": - #!/usr/bin/env bash - set -euo pipefail - - # 1) realize the buildEnv derivation - # 2) set the environment to it - drv=$(nix-build -E " - let sources = import ./nix/sources.nix {}; - pkgs = import sources.nixpkgs { - overlays = with (import ./nix/overlays); [ - packages - ]; - }; - in pkgs.callPackage ./nix/environments/{{ name }}.nix {} - ") - mkdir -p {{ profilePath }} - nix-env --{{ action }} "$drv" --profile {{ profilePath }}"/{{ name }}" - update: niv update nixpkgs niv update nur