2022-02-19 23:34:41 +00:00
|
|
|
{ lib, pkgs, ... }:
|
|
|
|
let
|
2022-07-17 02:56:26 +01:00
|
|
|
inherit (lib) concatStringsSep;
|
2022-02-19 23:34:41 +00:00
|
|
|
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
|
2022-10-05 23:23:39 +01:00
|
|
|
#substituters = https://nix-cache.nul.ie https://cache.nixos.org
|
|
|
|
substituters = https://cache.nixos.org
|
2023-11-02 13:41:50 +00:00
|
|
|
trusted-public-keys = ${concatStringsSep " " lib.my.c.nix.cacheKeys}
|
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
|
|
|
];
|
|
|
|
}
|