nyadministrator

This commit is contained in:
stitchy 2024-08-01 09:44:24 +00:00
parent 54e9588487
commit 34f8e2640f
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
5 changed files with 8 additions and 2 deletions

View file

@ -2,5 +2,5 @@
hyprctl monitors -j | jq '.[] | select(.focused) | .activeWorkspace.id' hyprctl monitors -j | jq '.[] | select(.focused) | .activeWorkspace.id'
socat -u UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | socat -u UNIX-CONNECT:/run/user/1000/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - |
stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}' stdbuf -o0 awk -F '>>|,' -e '/^workspace>>/ {print $2}' -e '/^focusedmon>>/ {print $3}'

View file

@ -100,6 +100,7 @@ export NOTMUCH_CONFIG=${XDG_CONFIG_HOME-~/.config}/notmuch/config
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
export KDEHOME="$XDG_CONFIG_HOME"/kde export KDEHOME="$XDG_CONFIG_HOME"/kde
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
export GNUPGHOME=${XDG_DATA_HOME-~/.config}/gnupg
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
export SDL_VIDEODRIVER=wayland export SDL_VIDEODRIVER=wayland
export GOPATH="$XDG_DATA_HOME" export GOPATH="$XDG_DATA_HOME"

View file

@ -6,7 +6,7 @@
isNormalUser = true; isNormalUser = true;
shell = pkgs.zsh; shell = pkgs.zsh;
home = "/home/nyadmin"; home = "/home/nyadmin";
description = "Administrator~"; description = "nyadministrator~";
extraGroups = [ "wheel" "kvm" "libvirt" "docker" ]; extraGroups = [ "wheel" "kvm" "libvirt" "docker" ];
initialHashedPassword = "$y$j9T$XguIcj/AVXsWW/MxSYAGh0$TivGAa0z8KNCli2mKTd24vtqimpadNzqMFwfbeh0p30"; initialHashedPassword = "$y$j9T$XguIcj/AVXsWW/MxSYAGh0$TivGAa0z8KNCli2mKTd24vtqimpadNzqMFwfbeh0p30";
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [

View file

@ -13,6 +13,10 @@
"steam-run" "steam-run"
]; ];
hardware = {
opentabletdriver.enable = true;
};
programs = { programs = {
firefox.enable = true; firefox.enable = true;
hyprland.enable = true; hyprland.enable = true;

View file

@ -125,6 +125,7 @@ in
services = { services = {
gpg-agent = { gpg-agent = {
enable = true; enable = true;
enableScDaemon = false;
enableSshSupport = true; enableSshSupport = true;
defaultCacheTtl = 34560000; defaultCacheTtl = 34560000;
maxCacheTtl = 34560000; maxCacheTtl = 34560000;