Jack O'Sullivan
7c67eaff21
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 34m42s
34 lines
734 B
Nix
34 lines
734 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 repl-flake
|
|
connect-timeout = 5
|
|
fallback = true
|
|
${lib.my.c.nix.cache.conf}
|
|
'');
|
|
|
|
INSTALLER_SSH_OPTS = "-i .keys/deploy.key";
|
|
};
|
|
|
|
packages = with pkgs; [
|
|
coreutils
|
|
nixVersions.stable
|
|
rage
|
|
wireguard-tools
|
|
(pkgs.writeShellScriptBin "deploy" ''
|
|
exec ${deploy-rs.deploy-rs}/bin/deploy --skip-checks "$@"
|
|
'')
|
|
home-manager
|
|
];
|
|
}
|