Move devshell to subdirectory

This commit is contained in:
2022-02-19 23:34:41 +00:00
parent 17e4feb542
commit fafb7d4656
5 changed files with 90 additions and 72 deletions

25
devshell/default.nix Normal file
View File

@@ -0,0 +1,25 @@
{ lib, pkgs, ... }:
let
inherit (lib.my) attrsToNVList;
in
{
imports = [ ./commands.nix ./install.nix ];
env = attrsToNVList {
# starship will show this
name = "devshell";
NIX_USER_CONF_FILES = toString (pkgs.writeText "nix.conf"
''
experimental-features = nix-command flakes ca-derivations
'');
};
packages = with pkgs; [
coreutils
nixVersions.stable
agenix
deploy-rs.deploy-rs
home-manager
];
}