nixfiles/devshell/default.nix
Jack O'Sullivan 009dec03cf Initial networking VM
Also general improvements around VMs
2022-05-16 00:05:02 +01:00

28 lines
526 B
Nix

{ lib, pkgs, ... }:
let
inherit (lib.my) attrsToNVList;
in
{
imports = [ ./commands.nix ./install.nix ./vm-tasks.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
'');
INSTALLER_SSH_OPTS = "-i .keys/deploy.key";
};
packages = with pkgs; [
coreutils
nixVersions.stable
rage
deploy-rs.deploy-rs
home-manager
];
}