From c37719764c7899608a36576ae1ba2b3cc3680e94 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 18 Aug 2021 11:42:40 +0200 Subject: Flakeify home config Use nix flakes instead of niv for pinning dependency channels. First step towards merging my "nixos-system" and "nixos-home" configs into a single trivially reproducible flake setup. Apply home config via: > nix build .#homeManagerConfigurations.common.activationPackage --impure > ./result/activate --- shell.nix | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 shell.nix (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix deleted file mode 100644 index 1e28dc1..0000000 --- a/shell.nix +++ /dev/null @@ -1,18 +0,0 @@ -let - sources = import ./nix/sources.nix; - pkgs = import sources.nixpkgs { }; - -in pkgs.mkShell rec { - name = "home-manager"; - - buildInputs = [ - pkgs.niv - (import sources.home-manager { inherit pkgs; }).home-manager - ]; - - shellHook = '' - export NIX_SHELL_NAME="${name}" - export NIX_PATH="nixpkgs=${sources.nixpkgs}:home-manager=${sources.home-manager}" - ''; - -} -- cgit v1.2.3