fix: add pulseaudio to make waybar work

This commit is contained in:
Nydragon 2024-06-25 21:00:56 +02:00
parent 89bac6f7b2
commit e599a200cb
No known key found for this signature in database
GPG key ID: 14AA30A865EA1209
3 changed files with 19 additions and 1 deletions

View file

@ -17,6 +17,15 @@ lib.mkIf osConfig.programs.hyprland.enable {
"HDMI-A-1,1920x1080@60, 0x0, 1"
];
exec-once = [
"${pkgs.swaynotificationcenter}/bin/swaync"
"${pkgs.nextcloud-client}/bin/nextcloud --background"
"${pkgs.kdeconnect}/bin/kdeconnect-indicator"
"${pkgs.protonmail-bridge-gui}/bin/protonmail-bridge-gui --no-window"
"${pkgs.waybar}/bin/waybar"
#"${pkgs.wl-clipboard}/bin/wl-paste --watch ${pkgs.cliphist}/bin/cliphist store -max-items 10"
];
general = {
gaps_in = 5;
gaps_out = 20;
@ -99,8 +108,9 @@ lib.mkIf osConfig.programs.hyprland.enable {
"$mod, D, exec, rofi -config ${config.home.homeDirectory}/.config/rofi/config.rasi -show combi -automatic-save-to-history"
"$mod, E, exec, ${pkgs.gnome.nautilus}/bin/nautilus"
"$mod, Return, exec, ${pkgs.alacritty}/bin/alacritty"
#"$mod, S, exec, rofi -show clipboard -show-icons"
"$mod SHIFT, Q, killactive,"
"$mod SHIFT, P, exec, rofi -show -p -modi p:rofi-power-menu"
"$mod SHIFT, P, exec, rofi -show p -modi p:rofi-power-menu"
"$mod SHIFT, C, exec, hyprctl reload"
"$mod, left, movefocus, l"
"$mod, right, movefocus, r"

View file

@ -30,6 +30,12 @@
};
};
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
programs = {
steam.enable = true;
fish.enable = true;
@ -61,6 +67,7 @@
services.gnome.gnome-keyring.enable = true;
environment.systemPackages = with pkgs; [
fish
wireguard-tools
git
htop
eza

View file

@ -35,6 +35,7 @@
scripts = import ../../home/scripts/list.nix { inherit pkgs; };
programs = with pkgs; [
keepassxc
kdeconnect
nextcloud-client
cliphist
digikam