Files
alo-cluster/home/default.nix

33 lines
698 B
Nix

{ pkgs, ... }:
let
packages = import ./packages.nix { inherit pkgs; };
in
{
home = {
inherit 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";
};
shellAliases = {
reload-home-manager-config = "home-manager switch --flake ${builtins.toString ./.}";
};
persistence."/persist/home/ppetru" = {
directories = [
".ssh"
"projects"
];
files = [ ];
allowOther = true;
};
};
programs = import ./programs.nix;
}