From 01f9c0119a397d7d919f1b6c15cffa735c9dbd7a Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sun, 11 Aug 2024 17:43:39 -0400 Subject: refactor services, syncthing, update audio packages --- home/config/zsh/zprofile | 2 +- home/home.scm | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) (limited to 'home') diff --git a/home/config/zsh/zprofile b/home/config/zsh/zprofile index 4387fab..18e9548 100644 --- a/home/config/zsh/zprofile +++ b/home/config/zsh/zprofile @@ -80,7 +80,7 @@ while true; do "h") echo "Launching Hyprland..." export XDG_CURRENT_DESKTOP=Hyprland - exec dbus-run-session Hyprland &> $HOME/.log/Hyprland + exec Hyprland &> $HOME/.log/Hyprland ;; "t") exec cage -s kitty -- -o font_size=14 &> $HOME/.log/kitty diff --git a/home/home.scm b/home/home.scm index 53c1fe8..a2b429d 100644 --- a/home/home.scm +++ b/home/home.scm @@ -14,6 +14,7 @@ (gnu home services shells) (gnu home services desktop) (gnu home services gnupg) + (gnu home services syncthing) (gnu home services) (freya services pipewire) (freya packages shells) @@ -189,11 +190,19 @@ (".nix-channels" ,(local-file "nix-channels")) (".gitconfig" ,(local-file "config/git/gitconfig")))) - (service home-pipewire-service-type) - (service home-dbus-service-type) + (service home-syncthing-service-type + (syncthing-configuration + (user (getenv "USER")) + (group (getenv "USER")) + (home (string-append (getenv "HOME") "/sync")) + (home-service? #t))) + (service home-gpg-agent-service-type (home-gpg-agent-configuration (pinentry-program (file-append pinentry "/bin/pinentry")) (ssh-support? #t))) + + (service home-pipewire-service-type) + (service home-dbus-service-type) ))) -- cgit v1.2.3-freya