This commit is contained in:
Daniel Ziltener 2024-08-22 16:27:34 +02:00
parent 63183f02cf
commit 634c79c3bd
Signed by: zilti
GPG key ID: B38976E82C9DAE42
3 changed files with 23 additions and 7 deletions

View file

@ -40,7 +40,7 @@ setup-desktop:
install: install:
touch ~/.vw-session-key touch ~/.vw-session-key
touch ~/.config/hypr/monitors.conf touch ~/.config/hypr/monitors.conf
nix-collect-garbage --delete-old sudo nix-collect-garbage --delete-old
sudo env NIXPKGS_ALLOW_BROKEN=1 nixos-rebuild switch --flake .#ziltis-desktop --impure --show-trace sudo env NIXPKGS_ALLOW_BROKEN=1 nixos-rebuild switch --flake .#ziltis-desktop --impure --show-trace
# end # end

View file

@ -21,13 +21,14 @@ args@{ config, pkgs, split-monitor-workspaces, flatpaks, ... }:
freetype freetype
gamescope gamescope
gcc gcc
ghostscript
git-cola git-cola
git-doc git-doc
git-filter-repo git-filter-repo
grim grim
home-manager home-manager
hyprpaper
hyprcursor hyprcursor
hyprpaper
iconv iconv
kteatime kteatime
lagrange lagrange
@ -149,12 +150,14 @@ args@{ config, pkgs, split-monitor-workspaces, flatpaks, ... }:
address = "dziltener@lyrion.ch"; address = "dziltener@lyrion.ch";
imap = { imap = {
host = "lyrion.ch"; host = "lyrion.ch";
port = 993;
tls = { tls = {
enable = true; enable = true;
}; };
}; };
smtp = { smtp = {
host = "lyrion.ch"; host = "lyrion.ch";
port = 465;
tls = { tls = {
enable = true; enable = true;
}; };
@ -449,7 +452,7 @@ programs.hyprlock = {
background = { background = {
path = "screenshot"; path = "screenshot";
blur_passes = 2; blur_passes = 2;
blur_size = 5; blur_size = 8;
noise = 0.0117; noise = 0.0117;
contrast = 0.8916; contrast = 0.8916;
brightness = 0.8172; brightness = 0.8172;
@ -501,12 +504,11 @@ services.hypridle = {
settings = { settings = {
general = { general = {
after_sleep_cmd = "hyprctl dispatch dpms on"; after_sleep_cmd = "hyprctl dispatch dpms on";
lock_cmd = "pgrep hyprlock || hyprlock";
}; };
listener = [ listener = [
{ {
timeout = 300; timeout = 300;
on-timeout = "$lock_cmd"; on-timeout = "pgrep hyprlock || hyprlock";
} }
{ {
timeout = 1200; timeout = 1200;
@ -517,6 +519,21 @@ services.hypridle = {
}; };
}; };
services.hyprpaper ={
enable = true;
settings = {
ipc = "on";
splash = true;
splash_offset = 2.0;
preload = [
"${config.home.homeDirectory}/Stow/Desktop/config/wallpapers/Next/contents/images/3840x2160.png"
];
wallpaper = [
",${config.home.homeDirectory}/Stow/Desktop/config/wallpapers/Next/contents/images/3840x2160.png"
];
};
};
# services.mako = { # services.mako = {
# enable = true; # enable = true;
# defaultTimeout = 5000; # defaultTimeout = 5000;

View file

@ -80,7 +80,7 @@
master = { master = {
new_status = "slave"; new_status = "slave";
orientation = "center"; orientation = "center";
workspace = "w[g2], layoutopt:orientation:left"; #workspace = "w[g2], layoutopt:orientation:left";
always_center_master = true; always_center_master = true;
mfact = 0.5; mfact = 0.5;
special_scale_factor = 0.8; special_scale_factor = 0.8;
@ -171,7 +171,6 @@
exec-once = [ exec-once = [
"[workspace special] ${pkgs.kitty}/bin/kitty" "[workspace special] ${pkgs.kitty}/bin/kitty"
"sleep 1; hyprctl dispatch layoutmsg orientationleft; hyprctl dispatch togglespecialworkspace" "sleep 1; hyprctl dispatch layoutmsg orientationleft; hyprctl dispatch togglespecialworkspace"
"hyprpaper"
]; ];
}; };
}; };