mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-03-11 03:28:15 +01:00
48 lines
965 B
Nix
48 lines
965 B
Nix
|
{
|
||
|
pkgs,
|
||
|
username,
|
||
|
...
|
||
|
}:
|
||
|
|
||
|
{
|
||
|
home.packages = with pkgs; [
|
||
|
swww
|
||
|
grim
|
||
|
slurp
|
||
|
wl-clipboard
|
||
|
swappy
|
||
|
ydotool
|
||
|
];
|
||
|
systemd.user.targets.hyprland-session.Unit.Wants = [
|
||
|
"xdg-desktop-autostart.target"
|
||
|
];
|
||
|
wayland.windowManager.hyprland = {
|
||
|
enable = true;
|
||
|
xwayland = {
|
||
|
enable = true;
|
||
|
# hidpi = true;
|
||
|
};
|
||
|
# enableNvidiaPatches = false;
|
||
|
systemd.enable = true;
|
||
|
};
|
||
|
# Place Files Inside Home Directory
|
||
|
home.file."Pictures/Wallpapers" = {
|
||
|
source = ../../../wallpapers;
|
||
|
recursive = true;
|
||
|
};
|
||
|
home.file.".face.icon".source = ./face.jpg;
|
||
|
home.file.".config/face.jpg".source = ./face.jpg;
|
||
|
home.file.".config/swappy/config".text = ''
|
||
|
[Default]
|
||
|
save_dir=/home/${username}/Pictures/Screenshots
|
||
|
save_filename_format=swappy-%Y%m%d-%H%M%S.png
|
||
|
show_panel=false
|
||
|
line_size=5
|
||
|
text_size=20
|
||
|
text_font=Ubuntu
|
||
|
paint_mode=brush
|
||
|
early_exit=true
|
||
|
fill_shape=false
|
||
|
'';
|
||
|
}
|