From 7310c3c99baf6c8b83564e77836c23141d063c66 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 30 Mar 2022 02:42:09 -0700 Subject: [PATCH] =?UTF-8?q?Add=20=E2=80=98guix-home=E2=80=99=20configurati?= =?UTF-8?q?on=20for=20data?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.scm | 2 ++ oni/home/data/config.scm | 31 +++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 config.scm create mode 100644 oni/home/data/config.scm diff --git a/config.scm b/config.scm new file mode 100644 index 0000000..387f69f --- /dev/null +++ b/config.scm @@ -0,0 +1,2 @@ +(add-to-load-path (dirname (current-filename))) +(load-from-path "oni/home/data/config.scm") diff --git a/oni/home/data/config.scm b/oni/home/data/config.scm new file mode 100644 index 0000000..3322dbe --- /dev/null +++ b/oni/home/data/config.scm @@ -0,0 +1,31 @@ +(define-module (oni home data config) + #:use-module (gnu home) + #:use-module (gnu home services) + #:use-module (gnu home services shells) + #:use-module (gnu home services desktop) + #:use-module (gnu services) + #:use-module (gnu packages admin) + #:use-module (guix gexp) + #:use-module (oni home services xdisorg)) + +(home-environment + (services + (list + (simple-service 'some-useful-env-vars-service + home-environment-variables-service-type + `(("LESS" . "FXRSi") + ("MY_GUIX_CONFIGURED" . "1") + ("DOTNET_CLI_TELEMETRY_OPTOUT" . "1") + ("EDITOR" . "emacsclient") + ("CALIBRE_USE_DARK_PALETTE" . "1"))) + + (service home-redshift-service-type + (home-redshift-configuration + (location-provider 'manual) + (latitude 49.2127205) + (longitude 122.9267927))) + + (service home-fish-service-type + (home-fish-configuration + (aliases + '(("hc" . "herbstclient"))))))))