diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2023-07-10 20:04:37 +0200 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2023-07-10 20:04:37 +0200 |
commit | d857c1cd7aa56de8721c8b8a75b204deb87fd40b (patch) | |
tree | e2264e7b525370810b0f3a2fe8b1f1c3c242ed6c /guix/jd/desktops | |
parent | f4232b4e088dec9c642e39846ab30e1303f53cb4 (diff) | |
download | dotfiles-d857c1cd7aa56de8721c8b8a75b204deb87fd40b.tar.gz dotfiles-d857c1cd7aa56de8721c8b8a75b204deb87fd40b.zip |
Add systrays as a shepherd service.
Diffstat (limited to 'guix/jd/desktops')
-rw-r--r-- | guix/jd/desktops/base.scm | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/guix/jd/desktops/base.scm b/guix/jd/desktops/base.scm index 69816fe..e95cbd0 100644 --- a/guix/jd/desktops/base.scm +++ b/guix/jd/desktops/base.scm | |||
@@ -1,7 +1,7 @@ | |||
1 | (define-module (jd desktops base) | 1 | (define-module (jd desktops base) |
2 | #:use-module (jd packages vpn) | 2 | #:use-module (jd packages vpn) |
3 | #:use-module (jd home services polkit) | 3 | #:use-module (jd home services polkit) |
4 | #:use-module (jd home services udiskie) | 4 | #:use-module (jd home services desktop) |
5 | #:use-module (jd services polkit) | 5 | #:use-module (jd services polkit) |
6 | 6 | ||
7 | #:use-module (gnu) | 7 | #:use-module (gnu) |
@@ -10,22 +10,22 @@ | |||
10 | #:use-module (gnu home services desktop) | 10 | #:use-module (gnu home services desktop) |
11 | #:use-module (gnu home services gnupg) | 11 | #:use-module (gnu home services gnupg) |
12 | #:use-module (gnu home services xdg) | 12 | #:use-module (gnu home services xdg) |
13 | |||
14 | #:use-module (gnu services) | 13 | #:use-module (gnu services) |
14 | |||
15 | #:use-module (nongnu packages linux) | 15 | #:use-module (nongnu packages linux) |
16 | #:use-module (nongnu system linux-initrd)) | 16 | #:use-module (nongnu system linux-initrd)) |
17 | 17 | ||
18 | (use-package-modules wm gnome gnupg) | 18 | (use-package-modules wm gnome gnupg networking) |
19 | (use-service-modules cups desktop networking ssh xorg | 19 | (use-service-modules cups desktop networking ssh xorg |
20 | docker virtualization pm sound) | 20 | docker virtualization pm sound dbus) |
21 | 21 | ||
22 | 22 | ||
23 | (define-public %jd-base-home-services | 23 | (define-public %jd-base-home-services |
24 | (list | 24 | (list |
25 | (service home-xdg-mime-applications-service-type | 25 | (service home-xdg-mime-applications-service-type |
26 | (home-xdg-mime-applications-configuration | 26 | (home-xdg-mime-applications-configuration |
27 | (default '((inode/directory . emacs-desktop.desktop))) | 27 | (default '((inode/directory . emacs-desktop.desktop) |
28 | (default '((application/pdf . emacs-desktop.desktop))) | 28 | (application/pdf . emacs-desktop.desktop))) |
29 | (desktop-entries | 29 | (desktop-entries |
30 | (list (xdg-desktop-entry | 30 | (list (xdg-desktop-entry |
31 | (file "emacs-desktop") | 31 | (file "emacs-desktop") |
@@ -43,8 +43,8 @@ | |||
43 | (simple-service 'some-useful-env-vars-service | 43 | (simple-service 'some-useful-env-vars-service |
44 | home-environment-variables-service-type | 44 | home-environment-variables-service-type |
45 | `(("GTK_THEME" . "Adwaita:dark") | 45 | `(("GTK_THEME" . "Adwaita:dark") |
46 | ("VISUAL" . "emacsclient -a emacs") | 46 | ("VISUAL" . "emacsclient") |
47 | ("EDITOR" . "emacsclient -a emacs") | 47 | ("EDITOR" . "emacsclient") |
48 | ("PATH" . "$HOME/.bin:$HOME/.npm-global/bin:$PATH") | 48 | ("PATH" . "$HOME/.bin:$HOME/.npm-global/bin:$PATH") |
49 | ("XDG_DATA_DIRS" . "$XDG_DATA_DIRS:$HOME/.local/share/flatpak/exports/share"))) | 49 | ("XDG_DATA_DIRS" . "$XDG_DATA_DIRS:$HOME/.local/share/flatpak/exports/share"))) |
50 | 50 | ||
@@ -58,7 +58,9 @@ | |||
58 | (default-cache-ttl-ssh 28800) | 58 | (default-cache-ttl-ssh 28800) |
59 | (max-cache-ttl-ssh 28800))) | 59 | (max-cache-ttl-ssh 28800))) |
60 | 60 | ||
61 | (service home-udiskie-service-type) | 61 | (service home-dbus-service-type) |
62 | |||
63 | (service home-desktop-service-type) | ||
62 | (service home-polkit-gnome-service-type))) | 64 | (service home-polkit-gnome-service-type))) |
63 | 65 | ||
64 | (define-public %jd-base-user-accounts | 66 | (define-public %jd-base-user-accounts |
@@ -104,6 +106,7 @@ | |||
104 | (vpn-plugins (list | 106 | (vpn-plugins (list |
105 | network-manager-pptp)))) | 107 | network-manager-pptp)))) |
106 | 108 | ||
109 | (simple-service 'blueman dbus-root-service-type (list blueman)) | ||
107 | (service bluetooth-service-type | 110 | (service bluetooth-service-type |
108 | (bluetooth-configuration | 111 | (bluetooth-configuration |
109 | (auto-enable? #t))) | 112 | (auto-enable? #t))) |
@@ -126,6 +129,7 @@ | |||
126 | polkit-network-manager-service | 129 | polkit-network-manager-service |
127 | 130 | ||
128 | (modify-services %desktop-services | 131 | (modify-services %desktop-services |
132 | (delete screen-locker-service-type) | ||
129 | (delete network-manager-service-type)))) | 133 | (delete network-manager-service-type)))) |
130 | 134 | ||
131 | ;; Odin is a base for my operating systems | 135 | ;; Odin is a base for my operating systems |