33 lines
897 B
Nix
33 lines
897 B
Nix
{ pkgs, ... }: {
|
|
imports = [
|
|
./global
|
|
./features/desktop/awesome
|
|
./features/desktop/common/alacritty.nix
|
|
./features/desktop/hyprland
|
|
./features/desktop/gnome
|
|
./features/coding
|
|
];
|
|
|
|
home.packages = with pkgs; [ nextcloud-client ];
|
|
|
|
nixpkgs = {
|
|
config = {
|
|
permittedInsecurePackages = [
|
|
"electron-25.9.0"
|
|
"nix-2.15.3"
|
|
];
|
|
};
|
|
};
|
|
|
|
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%-"
|
|
];
|
|
};
|
|
};
|
|
}
|