From b4967781022675b1dd66806f379b1760fa5e5b51 Mon Sep 17 00:00:00 2001 From: Satria Date: Fri, 6 Mar 2026 15:20:22 +0700 Subject: [PATCH] add runtime flags and cleanup --- lib/options.nix | 2 +- modules/home/core/zsh.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/options.nix b/lib/options.nix index 1bd965b..e1f12f2 100644 --- a/lib/options.nix +++ b/lib/options.nix @@ -11,7 +11,7 @@ wol = "enp0s31f6"; # set to iface name to enable Wake-on-LAN swapfile = 8 * 1024; # swapfile size in MB, set to 0 to disable (only used for server, desktop will use swap partition instead) - resume-dev = "/dev/disk/by-uuid/1721721a-bb5a-4166-a077-9500d30be2ac"; # set to swap partition to enable hibernation, e.g. /dev/disk/by-uuid/1721721a-bb5a-4166-a077-9500d30be2ac + resume-dev = "/dev/disk/by-uuid/1721721a-bb5a-4166-a077-9500d30be2ac"; # set to swap partition to enable hibernation homelab = rec { domain = "satr14.my.id"; # root domain for dns, ssl certs, reverse proxy, etc. diff --git a/modules/home/core/zsh.nix b/modules/home/core/zsh.nix index 1c91e4d..e189e5b 100644 --- a/modules/home/core/zsh.nix +++ b/modules/home/core/zsh.nix @@ -36,9 +36,9 @@ "ssh" = "TERM=xterm-256color ssh"; "cd" = "z"; - "sys" = "sudo systemctl"; + "sys" = "sudo systemctl --runtime"; "sys-log" = "journalctl -f -b -u"; - "user" = "systemctl --user"; + "user" = "systemctl --user --runtime"; "user-log" = "journalctl -f -b --user-unit"; "ts" = "sudo tailscale";