summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/config/zsh/zprofile2
-rw-r--r--home/home.scm13
2 files changed, 12 insertions, 3 deletions
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)
)))