nixfiles/devshell/default.nix
Jack O'Sullivan 38e7251300
All checks were successful
CI / Check, build and cache Nix flake (push) Successful in 14m11s
Set up homes and systems to use cache
2023-11-17 23:08:28 +00:00

30 lines
589 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
${lib.my.c.nix.cache.conf}
'');
INSTALLER_SSH_OPTS = "-i .keys/deploy.key";
};
packages = with pkgs; [
coreutils
nixVersions.stable
rage
deploy-rs.deploy-rs
home-manager
attic-client
];
}