diff options
author | Adrian Kummerlaender | 2021-08-18 11:42:40 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2021-08-18 11:43:38 +0200 |
commit | c37719764c7899608a36576ae1ba2b3cc3680e94 (patch) | |
tree | 4323a37170907eb53da1646cda1a6f451c535547 /shell.nix | |
parent | 4cd072bceab3a45d34c0f042eba8b5cb5f2c380f (diff) | |
download | nixos_home-c37719764c7899608a36576ae1ba2b3cc3680e94.tar nixos_home-c37719764c7899608a36576ae1ba2b3cc3680e94.tar.gz nixos_home-c37719764c7899608a36576ae1ba2b3cc3680e94.tar.bz2 nixos_home-c37719764c7899608a36576ae1ba2b3cc3680e94.tar.lz nixos_home-c37719764c7899608a36576ae1ba2b3cc3680e94.tar.xz nixos_home-c37719764c7899608a36576ae1ba2b3cc3680e94.tar.zst nixos_home-c37719764c7899608a36576ae1ba2b3cc3680e94.zip |
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
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 18 |
1 files changed, 0 insertions, 18 deletions
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}" - ''; - -} |