summaryrefslogtreecommitdiff
path: root/home-configuration.scm
blob: c7e4400734aeec9f8710e8b87c06f889f9cb27a1 (about) (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
56
;; This "home-environment" file can be passed to 'guix home reconfigure'
;; to reproduce the content of your profile.  This is "symbolic": it only
;; specifies package names.  To reproduce the exact same profile, you also
;; need to capture the channels being used, as returned by "guix describe".
;; See the "Replicating Guix" section in the manual.

(use-modules
  (gnu home)
  (gnu home services shells)
  (gnu packages)
  (gnu services)
  (guix gexp))

(home-environment
  (packages
    (map
      (compose list specification->package+output)
      (list
        "dconf-editor"
        "evolution"
        "font-google-noto"
        "git"
        "git-lfs"
        "gnome-shell-extensions"
        "gnome-tweaks"
        "gst-plugins-bad"
        "gst-plugins-base"
        "gst-plugins-good"
        "gst-plugins-ugly"
        "libreoffice"
        "pwgen"
        "seahorse"
        "trezor-agent")))

  (services
    (list
      (service home-bash-service-type
        (home-bash-configuration
          (environment-variables
            '(("EDITOR" . "nano")
              ("NVM_DIR" . "$HOME/src/nvm")
              ("GUILE_AUTO_COMPILE" . "0")))

          (aliases
            '(("grep" . "grep --color=auto")
              ("ll" . "ls -l")
              ("ls" . "ls -p --color=auto")))

          (bash-profile
            (list
              (local-file "/home/marek/src/guix-config/.bash_profile" "bash_profile")))

          (bashrc
            (list
              (local-file "/home/marek/src/guix-config/.bashrc" "bashrc")
              (local-file "/home/marek/src/guix-config/nvm_init" "nvm_init"))))))))