mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-10 04:49:19 -08:00
Using ./home.nix and ./nixos.nix as entrypoints for hosts. Using hardware profiles. Using new entrypoints (profiles/base/profiles.nix + profiles/base/home.nix). New modules (for DNS handling, for themeing, ...). Split up deploy-tf.nix into several modules. Renamed common profile to base profile.
23 lines
445 B
Nix
23 lines
445 B
Nix
{ config, lib, sources, tf, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
options.home-manager.users = mkOption {
|
|
type = types.attrsOf (types.submoduleWith {
|
|
modules = [ ../../modules/home ];
|
|
specialArgs = {
|
|
inherit sources tf;
|
|
superConfig = config;
|
|
modulesPath = sources.home-manager + "/modules";
|
|
};
|
|
});
|
|
};
|
|
|
|
config = {
|
|
home-manager = {
|
|
useUserPackages = true;
|
|
useGlobalPkgs = true;
|
|
};
|
|
};
|
|
}
|