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"; } ]; };