nixfiles/devshell/default.nix

32 lines
641 B
Nix
Raw Normal View History

2022-02-19 23:34:41 +00:00
{ lib, pkgs, ... }:
let
inherit (lib.my) attrsToNVList;
in
{
imports = [ ./commands.nix ./install.nix ./vm-tasks.nix ];
2022-02-19 23:34:41 +00:00
env = attrsToNVList {
# starship will show this
name = "devshell";
NIX_USER_CONF_FILES = toString (pkgs.writeText "nix.conf"
''
experimental-features = nix-command flakes ca-derivations repl-flake
2023-11-18 00:10:05 +00:00
connect-timeout = 5
fallback = true
2023-11-17 22:57:44 +00:00
${lib.my.c.nix.cache.conf}
2022-02-19 23:34:41 +00:00
'');
INSTALLER_SSH_OPTS = "-i .keys/deploy.key";
2022-02-19 23:34:41 +00:00
};
packages = with pkgs; [
coreutils
nixVersions.stable
2022-02-22 00:59:57 +00:00
rage
2022-02-19 23:34:41 +00:00
deploy-rs.deploy-rs
home-manager
attic-client
2022-02-19 23:34:41 +00:00
];
}