aboutsummaryrefslogtreecommitdiff
path: root/tw/home/cern.scm
diff options
context:
space:
mode:
authorTimo Wilken2024-07-11 17:11:25 +0200
committerTimo Wilken2024-07-11 17:11:25 +0200
commite6f26581bf22e266c5056eddfb264eca2efb6ef4 (patch)
tree08c436f4b5d4fe66bbf9b6a67bb1020568737e93 /tw/home/cern.scm
parentc2c6421d3f8db9920fe50f07eff226641586f87a (diff)
Wayland-based desktop support
Add a separate home service to configure a Wayland-based desktop instead of an X11 one. Screensharing in Zoom doesn't work unfortunately, but it worked (at least for a while) through OBS. Waybar might need some work to bring it in line with the previous polybar configuration, especially in terms of aesthetics.
Diffstat (limited to 'tw/home/cern.scm')
-rw-r--r--tw/home/cern.scm33
1 files changed, 3 insertions, 30 deletions
diff --git a/tw/home/cern.scm b/tw/home/cern.scm
index d86ef727..9b79c3b1 100644
--- a/tw/home/cern.scm
+++ b/tw/home/cern.scm
@@ -11,17 +11,10 @@
#:use-module (gnu home services guix)
#:use-module (gnu home services pm)
#:use-module (gnu home services ssh)
- #:use-module (gnu packages)
- #:use-module (gnu packages calendar)
- #:use-module (gnu packages dav)
- #:use-module (gnu packages mail)
- #:use-module (gnu packages networking)
- #:use-module (gnu packages web-browsers)
#:use-module (gnu services)
#:use-module (guix gexp)
#:use-module (tw home)
#:use-module (tw gexp)
- #:use-module ((tw packages mail) #:select (mutt_oauth2.py))
#:use-module (tw services desktop)
#:use-module (tw services dev-env)
#:use-module (tw services git)
@@ -29,39 +22,19 @@
(define-public %cern-home
(home-environment
- ;; These packages will show up in the home profile, under ~/.guix-home/profile.
- (packages (list blueman))
;; To search for available home services, run 'guix home search KEYWORD'.
(services
(list
(simple-service 'remote-desktop-config home-files-service-type
`((".local/share/vinagre/vinagre-bookmarks.xml" ,(local-file "files/vinagre-bookmarks.xml"))))
- ;; Redshift: make the screen turn redder at night.
- (service home-redshift-service-type
- (home-redshift-configuration
- (location-provider 'manual)
- ;; Approximate location
- (latitude 46.0)
- (longitude 6.0)
- ;; (location-provider 'geoclue2) ; TODO: currently waits forever for a location -- not sure why geoclue doesn't work
- (daytime-brightness 1.0)
- (nighttime-brightness 0.7)
- (extra-content "fade=0"))) ; with fade=1, restarting redshift causes flickering for a few secs
-
(service home-dbus-service-type)
(service tw-home-service-type)
- (service home-desktop-service-type
- (home-desktop-configuration
- (battery-name "BAT0")
- (ac-adapter-name "AC")
- (thermal-zone "0")
- (monitors
- (list (home-monitor-configuration
- (name "eDP-1")
- (xrandr-options '("--primary" "--auto")))))))
+ (service home-wayland-desktop-service-type
+ (home-wayland-desktop-configuration
+ (num-cores 12)))
(service home-full-dev-env-service-type)