33 lines
785 B
Nix
33 lines
785 B
Nix
{ lib, pkgs, ... }:
|
|
let
|
|
inherit (lib) concatStringsSep;
|
|
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 repl-flake
|
|
#substituters = https://nix-cache.nul.ie https://cache.nixos.org
|
|
substituters = https://cache.nixos.org
|
|
trusted-public-keys = ${concatStringsSep " " lib.my.c.nix.cacheKeys}
|
|
'');
|
|
|
|
INSTALLER_SSH_OPTS = "-i .keys/deploy.key";
|
|
};
|
|
|
|
packages = with pkgs; [
|
|
coreutils
|
|
nixVersions.stable
|
|
rage
|
|
deploy-rs.deploy-rs
|
|
home-manager
|
|
attic-client
|
|
];
|
|
}
|