Merge home manager config.

This commit is contained in:
2024-09-13 11:04:13 +01:00
parent 4e24ac988f
commit 2638e596e9
5 changed files with 111 additions and 42 deletions

20
home/default.nix Normal file
View File

@@ -0,0 +1,20 @@
{ 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 = {
MOSH_SERVER_NETWORK_TMOUT = 604800;
NOMAD_ADDR = "http://nomad.service.consul:4646";
};
shellAliases = {
reload-home-manager-config = "home-manager switch --flake ${builtins.toString ./.}";
};
};
programs = import ./programs.nix;
}