nixos: home: import common modules

This commit is contained in:
Bruno BELANYI 2024-01-03 16:50:05 +00:00
parent 2ed60a227e
commit 748e55f1a6

View file

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