refactor(hmModules): moved home-manager to module

This commit is contained in:
Mohammad Rafiq 2025-04-27 15:06:02 +08:00
parent 0b393ab562
commit cb42df54ec
No known key found for this signature in database
4 changed files with 36 additions and 22 deletions

View file

@ -1,20 +1,5 @@
{ config, ... }:
{
inputs,
config,
specialArgs,
...
}:
{
imports = [
inputs.home-manager.nixosModules.home-manager
];
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = specialArgs;
};
time.timeZone = "Asia/Singapore";
i18n.defaultLocale = "en_SG.UTF-8";
@ -42,10 +27,4 @@
];
};
};
home-manager.users.rafiq.home = {
username = "rafiq";
homeDirectory = "/home/rafiq";
stateVersion = "25.05";
};
}