chore: use self.homeManagerModules instead of absolute path

This commit is contained in:
Youwen Wu 2024-12-26 23:50:37 -08:00
parent 2a05c4f2bb
commit 45d9c4378c
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
5 changed files with 8 additions and 9 deletions

View file

@ -10,7 +10,10 @@
self.nixosModules.liminalOS
{
home-manager.users.youwen = {
imports = [ ./home.nix ];
imports = [
./home.nix
self.homeManagerModules.default
];
};
}
]

View file

@ -1,6 +1,5 @@
{
imports = [
../../../hm/modules
../../users/youwen
];

View file

@ -10,7 +10,10 @@
self.nixosModules.liminalOS
{
home-manager.users.youwen = {
imports = [ ./home.nix ];
imports = [
./home.nix
self.homeManagerModules.default
];
};
}
]

View file

@ -1,7 +1,6 @@
{ lib, ... }:
{
imports = [
../../../hm/modules
../../users/youwen
];

View file

@ -1,9 +1,4 @@
{ self, ... }:
{
imports = [
self.homeManagerModules.liminalOS
];
home = {
username = "youwen";
homeDirectory = "/home/youwen";