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