diff options
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/hm-module.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/nix/hm-module.nix b/nix/hm-module.nix index ef463b8..7eb6efa 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -43,6 +43,14 @@ in { default = ""; description = "Caelestia shell extra configs written to shell.json"; }; + environment = mkOption { + type = types.listOf types.str; + description = "Extra Environment variables to pass to the Caelestia shell systemd service."; + default = [ ]; + example = [ + "QT_QPA_PLATFORMTHEME=gtk3" + ]; + }; cli = { enable = mkEnableOption "Enable Caelestia CLI"; package = mkOption { @@ -87,7 +95,8 @@ in { TimeoutStopSec = "5s"; Environment = [ "QT_QPA_PLATFORM=wayland" - ]; + ] + ++ cfg.environment; Slice = "session.slice"; }; |