nixos: home: import common modules

This commit is contained in:
Bruno BELANYI 2024-01-03 16:50:05 +00:00
parent 19c3c0d835
commit 82af30ef08

View file

@ -13,8 +13,13 @@ in
config = lib.mkIf cfg.enable {
home-manager = {
# Not a fan of out-of-directory imports, but this is a good exception
users.${config.my.user.name} = import "${inputs.self}/modules/home";
users.${config.my.user.name} = {
# Not a fan of out-of-directory imports, but this is a good exception
imports = [
"${inputs.self}/modules/common"
"${inputs.self}/modules/home"
];
};
# Nix Flakes compatibility
useGlobalPkgs = true;