diff --git a/hosts/laptop/default.nix b/hosts/laptop/default.nix index 4407952..163b9d4 100644 --- a/hosts/laptop/default.nix +++ b/hosts/laptop/default.nix @@ -5,6 +5,7 @@ ./hardware-configuration.nix ../../modules/system/desktop/amd.nix ../../modules/system/desktop/hyprland.nix + ../../modules/system/desktop/bluetooth.nix ../../modules/system/programs/syncthing.nix ../../modules/system/programs/thunar.nix ../../modules/system/programs/virtualization.nix diff --git a/modules/home/desktop/hyprland/default.nix b/modules/home/desktop/hyprland/default.nix index d5bbf71..b5d3985 100644 --- a/modules/home/desktop/hyprland/default.nix +++ b/modules/home/desktop/hyprland/default.nix @@ -7,6 +7,7 @@ ./hyprlock.nix ./fixes.nix ./hypridle.nix + ./dunst.nix ]; home.packages = with pkgs; [ @@ -30,6 +31,7 @@ exec-once = [ "waybar" "hyprpaper" + "lxqt-policykit-agent" ]; "$mod" = "SUPER"; diff --git a/modules/home/desktop/hyprland/dunst.nix b/modules/home/desktop/hyprland/dunst.nix new file mode 100644 index 0000000..f3fb5e1 --- /dev/null +++ b/modules/home/desktop/hyprland/dunst.nix @@ -0,0 +1,7 @@ +{ ... }: + +{ + services.dunst = { + enable = true; + }; +} diff --git a/modules/home/programs/common.nix b/modules/home/programs/common.nix index 1370809..0e3db3e 100644 --- a/modules/home/programs/common.nix +++ b/modules/home/programs/common.nix @@ -10,5 +10,6 @@ webcord unstable.localsend bitwarden + pavucontrol ]; } diff --git a/modules/system/desktop/bluetooth.nix b/modules/system/desktop/bluetooth.nix new file mode 100644 index 0000000..446d3f2 --- /dev/null +++ b/modules/system/desktop/bluetooth.nix @@ -0,0 +1,16 @@ +{ pkgs, ... }: + +{ + hardware.bluetooth = { + enable = true; + powerOnBoot = true; + settings = { + General = { + Enable = "Source,Sink,Media,Socket"; + }; + }; + }; + hardware.pulseaudio.enable = true; + + services.blueman.enable = true; +} diff --git a/modules/system/desktop/hyprland.nix b/modules/system/desktop/hyprland.nix index cf399ae..de06ffd 100644 --- a/modules/system/desktop/hyprland.nix +++ b/modules/system/desktop/hyprland.nix @@ -27,6 +27,8 @@ pulse.enable = true; }; + security.polkit.enable = true; + # Configure networking networking.networkmanager.enable = true; networking.wireless.iwd.enable = true;