home/natto: split wayland.nix
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
33
home/natto/hyprland.nix
Normal file
33
home/natto/hyprland.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ pkgs, inputs, config, conf, ... }: {
|
||||
wayland = {
|
||||
windowManager = {
|
||||
hyprland = {
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||
portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
|
||||
xwayland = {
|
||||
enable = true;
|
||||
};
|
||||
extraConfig = (builtins.readFile ./config/hypr/hyprland.conf)
|
||||
+ (with config.home.pointerCursor; ''
|
||||
exec-once=hyprctl setcursor ${name} ${toString size}
|
||||
'')
|
||||
+ (with conf.colors.argb { a = "ee"; };''
|
||||
general {
|
||||
col.active_border = 0x${mauve} 0x${flamingo} 135deg
|
||||
col.inactive_border = 0x${surface0}
|
||||
}
|
||||
'');
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
grim
|
||||
slurp
|
||||
inputs.hyprland-contrib.packages.${pkgs.system}.grimblast
|
||||
wl-clipboard
|
||||
swayimg
|
||||
swaybg
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user