summaryrefslogtreecommitdiff
path: root/home/home.scm
blob: 77a927ac207d58c7b0f74335e8289af672507112 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
;; 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 packages)
             (gnu packages gnupg)
             (gnu packages virtualization)
             (gnu services)
             (guix packages)
             (guix gexp)
             (gnu home services shells)
             (gnu home services desktop)
             (gnu home services gnupg)
             (gnu home services)
             (freya services pipewire)
             (freya packages shells)
             (freya packages mozillia)
             (freya packages vim)
             (freya packages gnome-xyz)
             (freya packages shells)
             (freya packages certs)
             (freya packages audio))


(home-environment
  ;; Below is the list of packages that will show up in your
  ;; Home profile, unser ~/.guix-home/profile.
  (packages (append (specifications->packages (list "xdg-utils"
                                                    "mako"
                                                    "vscodium"
                                                    "libnotify"
                                                    "i3-autotiling"
                                                    "wofi"
                                                    "qrencode"
                                                    "sassc"
                                                    "binutils"
                                                    "clang-toolchain"
                                                    "racket"
                                                    "libreoffice"
                                                    "gnupg"
                                                    "pavucontrol"
                                                    "bind:utils"
                                                    "syncthing"
                                                    "imv"
                                                    "unzip"
                                                    "p7zip"
                                                    "curl"
                                                    "htop"
                                                    "curl"
                                                    "zathura"
                                                    "zathura-pdf-mupdf"
                                                    "gimp"
                                                    "weechat"
                                                    "mpv"
                                                    "git"
                                                    "pinentry"
                                                    "ungoogled-chromium"
                                                    "element-desktop"
                                                    "nm-tray"
                                                    "pfetch"
                                                    "acpi"
                                                    "brightnessctl"
                                                    "neofetch"
                                                    "python"
                                                    "make"
                                                    "tree"
                                                    "rlwrap"
                                                    "netcat"
                                                    "ripgrep"
                                                    "fd"
                                                    "nasm"
                                                    "wine-staging"
                                                    "winetricks"
                                                    "steam"
                                                    "node"
                                                    "ncurses"
                                                    "jq"
                                                    "rust"
                                                    "gcc-toolchain"
                                                    "openssl"
                                                    "pkg-config"
                                                    "tree-sitter-cli"
                                                    "zsh-syntax-highlighting"
                                                    "python-pynvim"))

            (list neovim-new
                  easyeffects
                  firefox-wayland-new
                  lavanda-gtk-theme
                  zsh-autosuggestions
                  freya-ca-certs
                  vim-plug)))

  ;; Below is the list of Home services.  To search for available
  ;; services, run 'guix home search KEYWORD' in a terminal.
  (services
   (list (service home-zsh-service-type
                  (home-zsh-configuration
                   (zshrc (list (local-file "config/zsh/zshrc")))
                   (zprofile (list (local-file "config/zsh/zprofile")))))

         (service home-xdg-configuration-files-service-type
                  `(("nvim" ,(local-file "config/nvim" #:recursive? #t))
                    ("sway" ,(local-file "config/sway" #:recursive? #t))
                    ("swaylock" ,(local-file "config/swaylock" #:recursive? #t))
                    ("waybar" ,(local-file "config/waybar" #:recursive? #t))
                    ("alacritty" ,(local-file "config/alacritty" #:recursive? #t))
                    ("kitty" ,(local-file "config/kitty" #:recursive? #t))
                    ("ranger" ,(local-file "config/ranger" #:recursive? #t))
                    ("mako" ,(local-file "config/mako" #:recursive? #t))
                    ("gtk-2.0" ,(local-file "config/gtk/gtk-2.0" #:recursive? #t))
                    ("gtk-3.0" ,(local-file "config/gtk/gtk-3.0" #:recursive? #t))
                    ("gtk-4.0" ,(local-file "config/gtk/gtk-4.0" #:recursive? #t))
                    ("Trolltech.conf" ,(local-file "config/gtk/Trolltech.conf"))
                    ("wofi" ,(local-file "config/wofi" #:recursive? #t))
                    ("hypr" ,(local-file "config/hypr" #:recursive? #t))
                    ("desktop-common" ,(local-file "config/desktop-common" #:recursive? #t))
                    ("mimeapps.list" ,(local-file "config/xdg/mimeapps.list" #:recursive? #t))
                    ("user-dirs.dirs" ,(local-file "config/xdg/user-dirs.dirs" #:recursive? #t))
                    ("starship.toml" ,(local-file "config/starship/starship.toml" #:recursive? #t))
                    ("home-manager/home.nix" ,(local-file "home.nix" #:recursive? #t)) ))

         (service home-files-service-type
                  `((".local/share/nvim/site/autoload/plug.vim" ,(file-append vim-plug "/share/vim/plug.vim"))
                    (".ssh/config" ,(local-file "config/ssh/config"))
                    (".gnupg/sshcontrol" ,(local-file "config/gnupg/sshcontrol"))
                    (".local/share/fonts" ,(local-file "local/fonts" #:recursive? #t))
                    (".local/share/applications" ,(local-file "local/applications" #:recursive? #t))
                    (".local/share/icons" ,(local-file "local/icons" #:recursive? #t))
                    (".nix-channels" ,(local-file "nix-channels"))
                    (".gitconfig" ,(local-file "config/git/gitconfig"))))

         (service home-pipewire-service-type)
         (service home-dbus-service-type)
         (service home-gpg-agent-service-type
                  (home-gpg-agent-configuration
                    (pinentry-program
                      (file-append pinentry "/bin/pinentry"))
                    (ssh-support? #t)))
         )))