Compare commits

...

4 commits

Author SHA1 Message Date
92be81fb8f
[sops] Add GPG decryption 2025-10-04 16:34:37 +02:00
b3993ffcba
[bitwarden] Add pkg 2025-10-03 14:30:17 +02:00
072b89c473
nix flake update 2025-10-01 07:38:25 +02:00
9e215b6df9
[swaylock] Bluescreen 2025-10-01 07:37:06 +02:00
9 changed files with 46 additions and 36 deletions

BIN
assets/bluescreen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

View file

@ -1,12 +1,15 @@
keys: keys:
- &tdpeuter age1fva6s64s884z0q2w7de024sp69ucvqu0pg9shrhhqsn3ewlpjfpsh6md7y - &tdpeuter age1fva6s64s884z0q2w7de024sp69ucvqu0pg9shrhhqsn3ewlpjfpsh6md7y
- &tdpeuter_gpg 08a9c1c8cf9159c9172aba129b11f5243089db5b
- &server_H4G0 age1d4gvqz3anf082ja6xt03hnkzazfum80um9t45m4rerl4n3va2yuqgnsg03 - &server_H4G0 age1d4gvqz3anf082ja6xt03hnkzazfum80um9t45m4rerl4n3va2yuqgnsg03
creation_rules: creation_rules:
- path_regex: secrets/[^/]+\.(yaml|json|env|ini)$ - path_regex: secrets/[^/]+\.(yaml|json|env|ini)$
key_groups: key_groups:
- age: - pgp:
- *tdpeuter_gpg
age:
- *tdpeuter - *tdpeuter
- *server_H4G0 - *server_H4G0

24
nixos/flake.lock generated
View file

@ -62,11 +62,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1758589230, "lastModified": 1759143472,
"narHash": "sha256-zMTCFGe8aVGTEr2RqUi/QzC1nOIQ0N1HRsbqB4f646k=", "narHash": "sha256-TvODmeR2W7yX/JmOCmP+lAFNkTT7hAxYcF3Kz8SZV3w=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d1d883129b193f0b495d75c148c2c3a7d95789a0", "rev": "5ed4e25ab58fd4c028b59d5611e14ea64de51d23",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -77,11 +77,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1758690382, "lastModified": 1759036355,
"narHash": "sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o=", "narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e643668fd71b949c53f8626614b21ff71a07379d", "rev": "e9f00bd893984bc8ce46c895c3bf7cac95331127",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -174,11 +174,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1758425756, "lastModified": 1759188042,
"narHash": "sha256-L3N8zV6wsViXiD8i3WFyrvjDdz76g3tXKEdZ4FkgQ+Y=", "narHash": "sha256-f9QC2KKiNReZDG2yyKAtDZh0rSK2Xp1wkPzKbHeQVRU=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "e0fdaea3c31646e252a60b42d0ed8eafdb289762", "rev": "9fcfabe085281dd793589bdc770a2e577a3caa5d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -265,11 +265,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1758859571, "lastModified": 1759205174,
"narHash": "sha256-/DPe2RNgIzTBHm1tLUF31YswssT7Uz+HJI6VIkmHN6w=", "narHash": "sha256-LMfGQsy3OibEqr3WtLCOqUVdOy5/6DJKWHV8h+1Vapk=",
"owner": "youwen5", "owner": "youwen5",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "58e5a7b019aa1584ca46e909b011c1f6a91081f0", "rev": "afd770119e0f9fbb085665738f3fa4c28ff42f78",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -11,6 +11,7 @@ in {
# Hint Electron apps to use wayland # Hint Electron apps to use wayland
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
ASSETS_DIR = ../../../../assets;
SCRIPT_DIR = ../../../../scripts; SCRIPT_DIR = ../../../../scripts;
}; };
@ -27,7 +28,7 @@ in {
wl-mirror # Mirror an output wl-mirror # Mirror an output
wdisplays # Tool to configure displays wdisplays # Tool to configure displays
swaylock-effects swaylock
glib glib
@ -49,6 +50,8 @@ in {
waybar.enable = true; waybar.enable = true;
}; };
security.polkit.enable = true;
services = { services = {
dbus.enable = true; dbus.enable = true;
displayManager.ly.enable = true; displayManager.ly.enable = true;

View file

@ -96,6 +96,7 @@ in {
]); ]);
environment.sessionVariables = { environment.sessionVariables = {
ASSETS_DIR = ../../../../assets;
SCRIPT_DIR = ../../../../scripts; SCRIPT_DIR = ../../../../scripts;
}; };

View file

@ -35,25 +35,26 @@ in {
shell = pkgs.zsh; shell = pkgs.zsh;
packages = (with pkgs; [ packages = (with pkgs; [
cmdtime # Zsh plugin bitwarden-desktop
icosystem # Personal icon theme
nextcloud-client
spotify-adblock
brave # Internet browser brave # Internet browser
chafa # Terminal image viewer chafa # Terminal image viewer
cmdtime # Zsh plugin
duf # Df alternative duf # Df alternative
feishin # Jellyfin music client feishin # Jellyfin music client
foot foot
fzf fzf
gh # GitHub CLI tool gh # GitHub CLI tool
glow # Terminal Markdown renderer glow # Terminal Markdown renderer
icosystem # Personal icon theme
jellyfin-media-player jellyfin-media-player
libreoffice-fresh # Office tools libreoffice-fresh # Office tools
librewolf # Internet browser librewolf # Internet browser
mpv # Media player mpv # Media player
nextcloud-client
nsxiv # Lightweight image viewer nsxiv # Lightweight image viewer
qalculate-gtk # Calculator qalculate-gtk # Calculator
spotify spotify
spotify-adblock
unzip unzip
vifm # File manager vifm # File manager
zathura # PDF viewer zathura # PDF viewer

View file

@ -266,7 +266,7 @@ $right = l
$term = foot $term = foot
$menu = j4-dmenu-desktop --dmenu="rofi -dmenu -i" --no-generic --usage-log="/home/tdpeuter/.local/state/dmenu.log" --term=$term $menu = j4-dmenu-desktop --dmenu="rofi -dmenu -i" --no-generic --usage-log="/home/tdpeuter/.local/state/dmenu.log" --term=$term
$lock = swaylock $lock = swaylock --daemonize
source = /home/tdpeuter/.config/hypr/input-output.conf source = /home/tdpeuter/.config/hypr/input-output.conf
source = /home/tdpeuter/.config/hypr/keybinds.conf source = /home/tdpeuter/.config/hypr/keybinds.conf

View file

@ -2,21 +2,23 @@
# .config/swaylock/config # .config/swaylock/config
# #
indicator #indicator
indicator-radius=200 #indicator-radius=200
#
#clock
#datestr=%A, %B %d %Y
#
#show-failed-attempts
#
#screenshots
#effect-pixelate=10
#effect-vignette=0.75:0 # Darken the whole screen.
#fade-in=0.25
#
#grace=7 # Allow to unlock without password for duration
#grace-no-mouse
clock image=${ASSETS_DIR}/bluescreen.png
datestr=%A, %B %d %Y
show-failed-attempts
screenshots
effect-pixelate=10
effect-vignette=0.75:0 # Darken the whole screen.
fade-in=0.25
grace=7 # Allow to unlock without password for duration
grace-no-mouse
# Styling # Styling

View file

@ -90,21 +90,21 @@
"format": "\uf09c", /* */ "format": "\uf09c", /* */
"tooltip": true, "tooltip": true,
"tooltip-format": "Lock device", "tooltip-format": "Lock device",
"on-click": "swaylock -f" "on-click": "swaylock --daemonize"
}, },
"custom/system-sleep": { "custom/system-sleep": {
"format": "\uf186", /* */ "format": "\uf186", /* */
"tooltip": true, "tooltip": true,
"tooltip-format": "Put device to sleep", "tooltip-format": "Put device to sleep",
"on-click": "swaylock -f; systemctl suspend" "on-click": "swaylock --daemonize; systemctl suspend"
}, },
"custom/system-hibernate": { "custom/system-hibernate": {
"format": "\uf2dc", /* */ "format": "\uf2dc", /* */
"tooltip": true, "tooltip": true,
"tooltip-format": "Hibernate device", "tooltip-format": "Hibernate device",
"on-click": "swaylock -f; systemctl hibernate" "on-click": "swaylock --daemonize; systemctl hibernate"
}, },
"custom/system-reboot": { "custom/system-reboot": {