Files
alo-cluster/home/default.nix
2024-09-16 09:29:07 +01:00

32 lines
771 B
Nix

{ pkgs, ... }:
{
home = {
packages = (import ./packages.nix { inherit pkgs; }).packages;
stateVersion = "24.05"; # TODO: unify this with the references in flake.nix:inputs
sessionVariables = {
EDITOR = "nvim";
VISUAL = "nvim";
MOSH_SERVER_NETWORK_TMOUT = 604800;
NOMAD_ADDR = "http://nomad.service.consul:4646";
LESS = "-F -i -M -+S -R -w -X -z-4";
};
shellAliases = {
reload-home-manager-config = "home-manager switch --flake ${builtins.toString ./.}";
};
persistence."/persist/home/ppetru" = {
directories = [
".local/share/fish"
".ssh"
"projects"
];
files = [ ];
allowOther = true;
};
};
programs = import ./programs.nix { inherit pkgs; };
}