refactor(hmModules): moved home-manager to module
This commit is contained in:
parent
0b393ab562
commit
cb42df54ec
4 changed files with 36 additions and 22 deletions
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue