Files
alo-cluster/home/default.nix
2024-09-16 14:08:41 +01:00

35 lines
855 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";
SYSTEMD_LESS = "FiM+SRwXz-4";
};
shellAliases = {
reload-home-manager-config = "home-manager switch --flake ${builtins.toString ./.}";
};
persistence."/persist/home/ppetru" = {
directories = [
".cache/nix"
".cache/nix-index"
".local/share/fish"
".ssh"
"projects"
];
files = [ ];
allowOther = true;
};
};
programs = import ./programs.nix { inherit pkgs; };
}