Closed andrevmatos closed 2 years ago
This is not implemented. nixos-shell relies on many impure features. Just grep for getEnv
: https://github.com/Mic92/nixos-shell/blob/master/share/nixos-shell/nixos-shell.nix
This is done by https://github.com/Mic92/nixos-shell/pull/46
How to get to a system built from a flake? I'm currently using flake-utils-plus to build and manage my main system, and it has a
hosts
options which allows to output multiple hosts as outputs, while sharing channels (inputs), overlays and modules between them.It'd be great to be able to use
nixos-shell
to boot one of these hosts directly, and have that documented. Not sure how to handle the customconfig.nixos-shell
on this context though. Sharing modules may make it easier to get into anixos-shell
without mounting home.