From 60ff7b5e8ee66e1f767bb407bf4bde7a9864bfc0 Mon Sep 17 00:00:00 2001 From: catvayor Date: Fri, 31 May 2024 14:51:59 +0200 Subject: [PATCH] Element and switch to lix --- hive.nix | 1 + modules/desktop/sway.nix | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/hive.nix b/hive.nix index b7fcb96..4047953 100644 --- a/hive.nix +++ b/hive.nix @@ -13,6 +13,7 @@ in imports = [ ]; boot.tmp.useTmpfs = true; networking.hostName = name; + nix.package = pkgs.lix; }; kat-probook = diff --git a/modules/desktop/sway.nix b/modules/desktop/sway.nix index b454aba..1da9d8c 100644 --- a/modules/desktop/sway.nix +++ b/modules/desktop/sway.nix @@ -101,12 +101,16 @@ terminal = "alacritty"; input."type:keyboard".xkb_layout = "fr"; startup = [ + { command = "waybar -b bar-0"; } + { command = "${pkgs.pulseaudio}/bin/pactl set-sink-mute @DEFAULT_SINK@ on"; } + { command = "${pkgs.pulseaudio}/bin/pactl set-source-mute @DEFAULT_SOURCE@ on"; } { command = "discord"; } { command = "thunderbird"; } { command = "mattermost-desktop"; } { command = "signal-desktop --"; } + { command = "${lib.getExe pkgs.element-desktop}"; } { command = ''sh -c "sleep 2 && exec keepassxc"''; } { command = "alacritty --class weechat --title weechat --command ${pkgs.bash}/bin/bash -c ${weechatCmd}"; @@ -119,6 +123,7 @@ { class = "Mattermost"; } { class = "Signal"; } { class = "discord"; } + { class = "Element"; } { app_id = "weechat"; } ]; };