nix-config/home/ludwig.nix

34 lines
897 B
Nix
Raw Normal View History

{ pkgs, ... }: {
2024-02-02 19:59:41 +01:00
imports = [
./global
./features/desktop/awesome
./features/desktop/common/alacritty.nix
./features/desktop/hyprland
2024-05-24 14:06:43 +02:00
./features/desktop/gnome
2024-02-02 19:59:41 +01:00
./features/coding
];
home.packages = with pkgs; [ nextcloud-client ];
2024-05-24 14:06:43 +02:00
2024-02-02 19:59:41 +01:00
nixpkgs = {
config = {
permittedInsecurePackages = [
"electron-25.9.0"
2024-05-24 14:06:15 +02:00
"nix-2.15.3"
2024-02-02 19:59:41 +01:00
];
};
};
wayland.windowManager.hyprland = {
settings = {
bind = [
", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+"
", XF86AudioLowerVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%-"
", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
", XF86MonBrightnessUp, exec, ${pkgs.brightnessctl}/bin/brightnessctl set +10%"
", XF86MonBrightnessDown, exec, ${pkgs.brightnessctl}/bin/brightnessctl set 10%-"
];
};
};
2024-02-02 19:59:41 +01:00
}