mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-09-20 00:59:04 +05:30
34 lines
556 B
Nix
34 lines
556 B
Nix
{
|
|
inputs,
|
|
config,
|
|
...
|
|
}: {
|
|
flake.modules.nixOnDroid.core = {
|
|
hostName,
|
|
userName,
|
|
userEmail,
|
|
...
|
|
}: {
|
|
home-manager = {
|
|
backupFileExtension = "bak";
|
|
useGlobalPkgs = true;
|
|
useUserPackages = true;
|
|
extraSpecialArgs = {
|
|
inherit
|
|
inputs
|
|
hostName
|
|
userName
|
|
userEmail
|
|
;
|
|
};
|
|
|
|
config = {
|
|
imports = [
|
|
config.flake.modules.homeManager.shell
|
|
config.flake.modules.homeManager.${hostName}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|