2022-02-19 23:34:41 +00:00
|
|
|
{ lib, pkgs, ... }:
|
|
|
|
let
|
|
|
|
inherit (lib.my) attrsToNVList;
|
|
|
|
in
|
|
|
|
{
|
2022-05-16 00:05:02 +01:00
|
|
|
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"
|
|
|
|
''
|
2023-10-31 14:38:51 +00:00
|
|
|
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
|
|
|
'');
|
2022-05-16 00:05:02 +01: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
|
2023-11-17 15:05:12 +00:00
|
|
|
attic-client
|
2022-02-19 23:34:41 +00:00
|
|
|
];
|
|
|
|
}
|