mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
18 lines
391 B
Nix
18 lines
391 B
Nix
{ lib, config, ... }:
|
|
{
|
|
options.swarselprofiles.work = lib.mkEnableOption "is this a work host";
|
|
config = lib.mkIf config.swarselprofiles.work {
|
|
swarselmodules = {
|
|
optional = {
|
|
work = lib.mkDefault true;
|
|
};
|
|
};
|
|
home-manager.users."${config.swarselsystems.mainUser}" = {
|
|
swarselprofiles = {
|
|
work = lib.mkDefault true;
|
|
};
|
|
};
|
|
|
|
};
|
|
|
|
}
|