mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-22 06:19:11 +00:00
workflows: discourage usage of profiles
I haven't realized that my own workflows use them when profiles are not even exported in the flake output. Whoops... For this, I'll put up a compromise by explicitly importing them.
This commit is contained in:
parent
646eb5296b
commit
be2d6bcfcb
@ -12,3 +12,8 @@ You can disable this with `config.workflows.disableLimit` set to `true`.
|
||||
|
||||
* Custom themes should be defined in `config.workflows.workflows` attribute (e.g., `options.workflows.workflows.a-happy-gnome`, `options.workflows.workflows.simple-way`).
|
||||
This makes up for a namespace entirely dedicated for setting themes.
|
||||
|
||||
* Using link:../profiles[profiles] are heavily discouraged and it is better assumed to design and create workflows as if profiles are not imported.
|
||||
This is because profiles are not exported in the flake output.
|
||||
Thus, any part of the workflow configuration using profiles will not be properly used due to the missing modules.
|
||||
If it's something you have to use (e.g., setting up i18n configuration), you have to explicitly import them through the `imports` attribute to make it work.
|
||||
|
@ -19,6 +19,10 @@ let
|
||||
'';
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
../../profiles/i18n.nix
|
||||
];
|
||||
|
||||
options.workflows.workflows.a-happy-gnome = {
|
||||
enable = lib.mkEnableOption "'A happy GNOME', foo-dogsquared's configuration of GNOME desktop environment";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user