This commit is contained in:
Miguel Palhas
2024-10-06 14:53:48 +01:00
parent 13aa50dc63
commit 08fb398ce2
4 changed files with 21 additions and 5 deletions
+9 -4
View File
@@ -10,6 +10,8 @@ in
home.packages = with pkgs; [ home.packages = with pkgs; [
hyprcursor hyprcursor
avizo
pamixer
]; ];
home.sessionVariables = { home.sessionVariables = {
@@ -81,6 +83,7 @@ in
"exec-once" = [ "exec-once" = [
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP" "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"eww daemon & eww -c $HOME/.config/eww open bar" "eww daemon & eww -c $HOME/.config/eww open bar"
"avizo-service"
]; ];
"$mod" = "SUPER"; "$mod" = "SUPER";
@@ -123,13 +126,15 @@ in
"$mod, mouse_up, workspace, e-1" "$mod, mouse_up, workspace, e-1"
# media # media
", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+" ", XF86AudioRaiseVolume, exec, volumectl -u up"
", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" ", XF86AudioLowerVolume, exec, volumectl -u down"
", XF86AudioMute, exec, volumectl toggle-mute"
", XF86AudioMicMute, exec, volumectl -m toggle-mute"
", XF86AudioNext, exec, playerctl next" ", XF86AudioNext, exec, playerctl next"
", XF86AudioPrev, exec, playerctl previous" ", XF86AudioPrev, exec, playerctl previous"
", XF86AudioPlay, exec, playerctl play-pause" ", XF86AudioPlay, exec, playerctl play-pause"
", XF86MonBrightnessUp, exec, light -A 10" ", XF86MonBrightnessUp, exec, lightctl up"
", XF86MonBrightnessDown, exec, light -U 10" ", XF86MonBrightnessDown, exec, lightctl down"
]; ];
}; };
}; };
+1
View File
@@ -18,6 +18,7 @@ in
../common/features/pipewire.nix ../common/features/pipewire.nix
../common/features/docker.nix ../common/features/docker.nix
../common/features/fonts.nix ../common/features/fonts.nix
../common/features/nix-ld.nix
]; ];
networking.hostName = "arrakis"; networking.hostName = "arrakis";
+8
View File
@@ -0,0 +1,8 @@
{ ... }:
{
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
# Add any missing dynamic libraries for unpackaged programs
# here, NOT in environment.systemPackages
];
}
+3 -1
View File
@@ -6,7 +6,9 @@ in
{ {
programs.hyprland.enable = true; programs.hyprland.enable = true;
environments.systemPackages = with pkgs; [ brightnessctl ]; environment.systemPackages = with pkgs; [
brightnessctl
];
services.greetd = { services.greetd = {
enable = true; enable = true;