diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2023-10-19 19:24:35 +0200 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2023-10-19 19:24:35 +0200 |
commit | c6c985d1188830ac90a546cfa27a77c220c9d096 (patch) | |
tree | b2aaaebfbcbd4141eb6ca5cf533a7e0db2cbe962 /guix/jd/desktops/base.scm | |
parent | 2a5d171484392d55f3abfd9e48807edc77c182b0 (diff) | |
download | dotfiles-c6c985d1188830ac90a546cfa27a77c220c9d096.tar.gz dotfiles-c6c985d1188830ac90a546cfa27a77c220c9d096.zip |
Add stumpwm and change disk config for berserker.
Diffstat (limited to 'guix/jd/desktops/base.scm')
-rw-r--r-- | guix/jd/desktops/base.scm | 39 |
1 files changed, 34 insertions, 5 deletions
diff --git a/guix/jd/desktops/base.scm b/guix/jd/desktops/base.scm index 656c622..13bc5af 100644 --- a/guix/jd/desktops/base.scm +++ b/guix/jd/desktops/base.scm | |||
@@ -15,7 +15,8 @@ | |||
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 networking) | 18 | (use-package-modules wm gnome gnupg networking virtualization |
19 | lisp lisp-xyz) | ||
19 | (use-service-modules cups desktop networking ssh xorg | 20 | (use-service-modules cups desktop networking ssh xorg |
20 | docker virtualization pm sound dbus) | 21 | docker virtualization pm sound dbus) |
21 | 22 | ||
@@ -46,12 +47,13 @@ | |||
46 | ("VISUAL" . "emacsclient") | 47 | ("VISUAL" . "emacsclient") |
47 | ("EDITOR" . "emacsclient") | 48 | ("EDITOR" . "emacsclient") |
48 | ("PATH" . "$HOME/.bin:$HOME/.npm-global/bin:$PATH") | 49 | ("PATH" . "$HOME/.bin:$HOME/.npm-global/bin:$PATH") |
49 | ("XDG_DATA_DIRS" . "$XDG_DATA_DIRS:$HOME/.local/share/flatpak/exports/share"))) | 50 | ("XDG_DATA_DIRS" . "$XDG_DATA_DIRS:$HOME/.local/share/flatpak/exports/share") |
51 | ("SBCL_HOME" . "/run/current-system/profile/lib/sbcl/"))) | ||
50 | 52 | ||
51 | (service home-gpg-agent-service-type | 53 | (service home-gpg-agent-service-type |
52 | (home-gpg-agent-configuration | 54 | (home-gpg-agent-configuration |
53 | (pinentry-program | 55 | (pinentry-program |
54 | (file-append pinentry "/bin/pinentry")) | 56 | (file-append pinentry "/bin/pinentry")) |
55 | (ssh-support? #t) | 57 | (ssh-support? #t) |
56 | (default-cache-ttl 28800) | 58 | (default-cache-ttl 28800) |
57 | (max-cache-ttl 28800) | 59 | (max-cache-ttl 28800) |
@@ -83,6 +85,26 @@ | |||
83 | ))) | 85 | ))) |
84 | %base-user-accounts)) | 86 | %base-user-accounts)) |
85 | 87 | ||
88 | (define-public %stumpwm-packages | ||
89 | (list sbcl | ||
90 | sbcl-dbus | ||
91 | stumpwm+slynk | ||
92 | |||
93 | sbcl-stumpwm-screenshot | ||
94 | sbcl-stumpwm-pamixer | ||
95 | sbcl-stumpwm-pass | ||
96 | |||
97 | sbcl-stumpwm-cpu | ||
98 | sbcl-stumpwm-mem | ||
99 | sbcl-stumpwm-net | ||
100 | sbcl-stumpwm-battery-portable | ||
101 | sbcl-stumpwm-stumptray | ||
102 | |||
103 | sbcl-drakma | ||
104 | sbcl-yason | ||
105 | |||
106 | (list stumpwm "lib"))) | ||
107 | |||
86 | (define-public %jd-base-packages | 108 | (define-public %jd-base-packages |
87 | (append | 109 | (append |
88 | (specifications->packages '("emacs" | 110 | (specifications->packages '("emacs" |
@@ -96,18 +118,25 @@ | |||
96 | "intel-vaapi-driver" | 118 | "intel-vaapi-driver" |
97 | "libva-utils" ;; vainfo | 119 | "libva-utils" ;; vainfo |
98 | "nss-certs")) | 120 | "nss-certs")) |
121 | %stumpwm-packages | ||
99 | %base-packages)) | 122 | %base-packages)) |
100 | 123 | ||
124 | |||
101 | (define-public %jd-base-services | 125 | (define-public %jd-base-services |
102 | (cons* | 126 | (cons* |
103 | (service openssh-service-type) | 127 | (service openssh-service-type) |
104 | 128 | ||
129 | (set-xorg-configuration | ||
130 | (xorg-configuration ;for Xorg | ||
131 | (keyboard-layout (keyboard-layout "pl")))) | ||
132 | |||
105 | (service network-manager-service-type | 133 | (service network-manager-service-type |
106 | (network-manager-configuration | 134 | (network-manager-configuration |
107 | (vpn-plugins (list | 135 | (vpn-plugins (list |
108 | network-manager-pptp)))) | 136 | network-manager-pptp)))) |
109 | 137 | ||
110 | (simple-service 'blueman dbus-root-service-type (list blueman)) | 138 | (simple-service 'dbus-packages dbus-root-service-type (list blueman |
139 | virt-manager)) | ||
111 | (service bluetooth-service-type | 140 | (service bluetooth-service-type |
112 | (bluetooth-configuration | 141 | (bluetooth-configuration |
113 | (auto-enable? #t))) | 142 | (auto-enable? #t))) |
@@ -116,6 +145,7 @@ | |||
116 | (service libvirt-service-type | 145 | (service libvirt-service-type |
117 | (libvirt-configuration | 146 | (libvirt-configuration |
118 | (unix-sock-group "libvirt"))) | 147 | (unix-sock-group "libvirt"))) |
148 | (service virtlog-service-type) | ||
119 | 149 | ||
120 | (service cups-service-type | 150 | (service cups-service-type |
121 | (cups-configuration | 151 | (cups-configuration |
@@ -129,7 +159,6 @@ | |||
129 | 159 | ||
130 | polkit-network-manager-service | 160 | polkit-network-manager-service |
131 | 161 | ||
132 | (service lxqt-desktop-service-type) ;; Just in case, if Emacs doesn't want to work. | ||
133 | (modify-services %desktop-services | 162 | (modify-services %desktop-services |
134 | (delete network-manager-service-type)))) | 163 | (delete network-manager-service-type)))) |
135 | 164 | ||