diff options
-rw-r--r-- | machines/sternenseemann/desktop-sway.nix | 4 | ||||
-rw-r--r-- | modules/user/sternenseemann/services/sway.nix | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/machines/sternenseemann/desktop-sway.nix b/machines/sternenseemann/desktop-sway.nix index ec2a52fc..a6bb59b6 100644 --- a/machines/sternenseemann/desktop-sway.nix +++ b/machines/sternenseemann/desktop-sway.nix @@ -59,6 +59,9 @@ in name = defaultFont; size = 10; }; + extraConfig = '' + exec ${pkgs.nextcloud-client}/bin/nextcloud + ''; }; vuizvui.programs.foot = { @@ -114,6 +117,7 @@ in wl-clipboard # instead of xsel grim slurp screenshot # screenshots mako # notifications + nextcloud-client ]; programs.fish.shellAliases = { diff --git a/modules/user/sternenseemann/services/sway.nix b/modules/user/sternenseemann/services/sway.nix index 3366e689..b125e2c2 100644 --- a/modules/user/sternenseemann/services/sway.nix +++ b/modules/user/sternenseemann/services/sway.nix @@ -113,6 +113,14 @@ in { Whether to automatically start sway when logging in on tty1. ''; }; + + extraConfig = lib.mkOption { + type = lib.types.lines; + default = ""; + description = '' + Additional lines to append to the configuration. + ''; + }; }; }; @@ -271,6 +279,8 @@ in { urgent_workspace $urg $urg $act } } + + ${cfg.extraConfig} ''; "xdg/i3status/config".text = '' |