-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: flake update chore: format cleanup
- Loading branch information
1 parent
e385886
commit 14fd3a3
Showing
12 changed files
with
322 additions
and
228 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
{ | ||
config, | ||
lib, | ||
pkgs, | ||
modulesPath, | ||
... | ||
}: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
{ DE, ... }: | ||
{ | ||
imports = [ | ||
./agenix | ||
./apps | ||
./core | ||
./eriixpkgs | ||
./hardware | ||
./hyprland | ||
./${DE} | ||
./tailscale | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ | ||
pkgs, | ||
hyprlandConfig, | ||
home-manager, | ||
username, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ username, ... }: | ||
{ | ||
|
||
services.hypridle.enable = true; | ||
|
||
home-manager.users.${username} = _: { | ||
home.file = { | ||
|
||
".config/hypr/hypridle.conf".text = '' | ||
general { | ||
lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances. | ||
before_sleep_cmd = loginctl lock-session # lock before suspend. | ||
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. | ||
} | ||
listener { | ||
timeout = 150 # 2.5min. | ||
on-timeout = brightnessctl -s set 10 # set monitor backlight to minimum, avoid 0 on OLED monitor. | ||
on-resume = brightnessctl -r # monitor backlight restore. | ||
} | ||
listener { | ||
timeout = 300 # 5min | ||
on-timeout = loginctl lock-session # lock screen when timeout has passed | ||
} | ||
listener { | ||
timeout = 330 # 5.5min | ||
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed | ||
on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired. | ||
} | ||
''; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,85 @@ | ||
{ username, ... }: | ||
{ | ||
home-manager, | ||
hyprlock, | ||
pkgs, | ||
username, | ||
... | ||
}: | ||
{ | ||
imports = [ hyprlock.homeManagerModules.hyprlock ]; | ||
programs.hyprlock.enable = true; | ||
home-manager.users.${username} = _: { | ||
home.file = { | ||
".config/hypr/hyprlock.conf".text = '' | ||
background { | ||
monitor = | ||
path = /home/${username}/.config/backgrounds/nyc-macro.png # supports png, jpg, webp (no animations, though) | ||
color = rgba(25, 20, 20, 1.0) | ||
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations | ||
blur_passes = 0 # 0 disables blurring | ||
blur_size = 7 | ||
noise = 0.0117 | ||
contrast = 0.8916 | ||
brightness = 0.8172 | ||
vibrancy = 0.1696 | ||
vibrancy_darkness = 0.0 | ||
} | ||
shape { | ||
monitor = | ||
size = 360, 60 | ||
color = rgba(17, 17, 17, 1.0) | ||
rounding = -1 | ||
border_size = 8 | ||
border_color = rgba(0, 207, 230, 1.0) | ||
rotate = 0 | ||
xray = false # if true, make a "hole" in the background (rectangle of specified size, no rotation) | ||
position = 0, 80 | ||
halign = center | ||
valign = center | ||
} | ||
input-field { | ||
monitor = | ||
size = 200, 50 | ||
outline_thickness = 3 | ||
dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8 | ||
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 | ||
dots_center = false | ||
dots_rounding = -1 # -1 default circle, -2 follow input-field rounding | ||
outer_color = rgb(151515) | ||
inner_color = rgb(200, 200, 200) | ||
font_color = rgb(10, 10, 10) | ||
fade_on_empty = true | ||
fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered. | ||
placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty. | ||
hide_input = false | ||
rounding = -1 # -1 means complete rounding (circle/oval) | ||
check_color = rgb(204, 136, 34) | ||
fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color | ||
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i> # can be set to empty | ||
fail_transition = 300 # transition time in ms between normal outer_color and fail_color | ||
capslock_color = -1 | ||
numlock_color = -1 | ||
bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above) | ||
invert_numlock = false # change color if numlock is off | ||
swap_font_color = false # see below | ||
position = 0, -20 | ||
halign = center | ||
valign = center | ||
} | ||
label { | ||
monitor = | ||
text = Hi there, $USER | ||
text_align = center # center/right or any value for default left. multi-line text alignment inside label container | ||
color = rgba(0, 128, 0, 1) | ||
font_size = 20 | ||
font_family = Monaspace Neon | ||
rotate = 0 # degrees, counter-clockwise | ||
position = 0, 80 | ||
halign = center | ||
valign = center | ||
} | ||
''; | ||
|
||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters