diff options
| author | Caroline Larimore <caroline@larimo.re> | 2024-07-25 23:02:06 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2024-07-25 23:02:06 -0700 |
| commit | 87c1648dc37a832f90df8b26b00a311b796ed893 (patch) | |
| tree | 9cd8709a6d53b3712f4b7fe36474323d66b33c12 /roles/desktop/default.nix | |
| parent | 2f17e369400b9c895b3554008ab3efbc76255428 (diff) | |
roles: desktop: replace hardcoded setupCommands with option
Diffstat (limited to 'roles/desktop/default.nix')
| -rw-r--r-- | roles/desktop/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/desktop/default.nix b/roles/desktop/default.nix index f48b82c..ac6444f 100644 --- a/roles/desktop/default.nix +++ b/roles/desktop/default.nix @@ -9,6 +9,14 @@ let cfg = config.roles.desktop; in { options.roles.desktop = { enable = mkEnableOption "desktop"; + + setupCommands = mkOption { + type = types.lines; + default = ""; + description = '' + Shell commands executed just after the X server has started. + ''; + }; }; config = mkIf cfg.enable { |