From 87c1648dc37a832f90df8b26b00a311b796ed893 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Thu, 25 Jul 2024 23:02:06 -0700 Subject: roles: desktop: replace hardcoded setupCommands with option --- roles/desktop/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'roles/desktop/default.nix') 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 { -- cgit v1.2.3