Refactor Home Manager modules

This commit is contained in:
Oliver Davies 2025-01-15 08:00:00 +00:00
parent 5229429bc4
commit 7771c88040
6 changed files with 22 additions and 29 deletions

View file

@ -0,0 +1,12 @@
{
outputs,
hostname,
username,
...
}:
{
imports = builtins.attrValues outputs.homeManagerModules ++ [
../../home/${username}/hosts/${hostname}.nix
];
}

View file

@ -44,7 +44,10 @@ let
};
in
{
imports = [ shared-config ];
imports = [
../common
shared-config
];
home.packages =
shared-packages
@ -64,6 +67,7 @@ in
);
home.sessionVariables = {
DOCUMENTS = "$HOME/Documents";
EDITOR = "nvim";
LANG = "en_GB.UTF-8";
LC_ALL = "en_GB.UTF-8";