aboutsummaryrefslogtreecommitdiffstats
path: root/oni/home/data/config.scm
blob: bb43d7b52e01c582a4e6655cb803bf5641df7eb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
(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)
  #:use-module (gnu packages admin)
  #:use-module (guix gexp)
  #:use-module (oni home services xdisorg)
  #:use-module (oni home services xmodmap))

(home-environment
 (packages (list (specification->package+output "glibc-locales")))

 (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")
                     ("GUIX_LOCPATH" . "$HOME/.guix-home/profile/lib/locale")))

   (service home-redshift-service-type
            (home-redshift-configuration
             (location-provider 'manual)
             (latitude 49.2127205)
             (longitude 122.9267927)))

   (service home-zsh-service-type)

   (service home-rofi-service-type
            (home-rofi-configuration
             (config
              '((kb-cancel . "Escape,Control+bracketleft,Control+g")))
             (theme
              '((window
                 ((background-color . "#222424")))
                (entry
                 ((text-color . "#bfbfbf")))
                (prompt
                 ((text-color . "#bfbfbf")))
                (element-text
                 ((background-color . "#222424")
                  (text-color . "#bfbfbf")))))))

   (service home-xmodmap-service-type
            (home-xmodmap-configuration
             (pointer '(3 2 1))
             (extra '("remove Mod5 = ISO_Level3_Shift"
                      "keycode 108 = Alt_L"
                      "add Mod1 = Alt_L")))))))