diff --git a/system/nixos/configuration.nix b/system/nixos/configuration.nix index 2d9ceea..256ce59 100644 --- a/system/nixos/configuration.nix +++ b/system/nixos/configuration.nix @@ -82,20 +82,20 @@ in # Enable sound with pipewire. sound.enable = true; - hardware.pulseaudio.enable = false; + hardware.pulseaudio.enable = true; security.rtkit.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - # If you want to use JACK applications, uncomment this - #jack.enable = true; - - # use the example session manager (no others are packaged yet so this is enabled by default, - # no need to redefine it in your config for now) - #media-session.enable = true; - }; + # services.pipewire = { + # enable = true; + # alsa.enable = true; + # alsa.support32Bit = true; + # pulse.enable = true; + # # If you want to use JACK applications, uncomment this + # #jack.enable = true; + # + # # use the example session manager (no others are packaged yet so this is enabled by default, + # # no need to redefine it in your config for now) + # #media-session.enable = true; + # }; # Enable touchpad support (enabled default in most desktopManager). # services.xserver.libinput.enable = true; diff --git a/system/nixos/home-manager-desktop.nix b/system/nixos/home-manager-desktop.nix index 104fb78..42cf26c 100644 --- a/system/nixos/home-manager-desktop.nix +++ b/system/nixos/home-manager-desktop.nix @@ -124,8 +124,12 @@ bindswitch --reload --locked lid:on output $laptop disable bindswitch --reload --locked lid:off output $laptop enable - bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- - bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+ + bindsym XF86AudioRaiseVolume exec pamixer -ui 2 && pamixer --get-volume + bindsym XF86AudioLowerVolume exec pamixer -ud 2 && pamixer --get-volume + bindsym XF86AudioMute exec pamixer --toggle-mute + + bindsym --locked XF86MonBrightnessDown exec brightnessctl set 10%- + bindsym --locked XF86MonBrightnessUp exec brightnessctl set 10%+ exec alacritty exec firefox diff --git a/system/nixos/home-manager.nix b/system/nixos/home-manager.nix index b39ad82..cf0feb5 100644 --- a/system/nixos/home-manager.nix +++ b/system/nixos/home-manager.nix @@ -11,6 +11,7 @@ in home.packages = shared-packages ++ pkgs.lib.optionals desktop [ pkgs.discord pkgs.meslo-lg + pkgs.pamixer pkgs.pass pkgs.pinentry pkgs.postman