aboutsummaryrefslogtreecommitdiff
path: root/roles/desktop/default.nix
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2024-07-25 23:02:06 -0700
committerCaroline Larimore <caroline@larimo.re>2024-07-25 23:02:06 -0700
commit87c1648dc37a832f90df8b26b00a311b796ed893 (patch)
tree9cd8709a6d53b3712f4b7fe36474323d66b33c12 /roles/desktop/default.nix
parent2f17e369400b9c895b3554008ab3efbc76255428 (diff)
roles: desktop: replace hardcoded setupCommands with option
Diffstat (limited to 'roles/desktop/default.nix')
-rw-r--r--roles/desktop/default.nix8
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 {