nixos: home: import common modules
This commit is contained in:
parent
19c3c0d835
commit
82af30ef08
1 changed files with 7 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue