[254aa1d] | 1 | (use-modules (gnu home)
|
---|
| 2 | (gnu packages)
|
---|
| 3 | (gnu packages gnupg)
|
---|
| 4 | (gnu packages shells)
|
---|
| 5 | (gnu services)
|
---|
[fde9de8] | 6 | (gnu services xorg)
|
---|
| 7 | (gnu system keyboard)
|
---|
[254aa1d] | 8 | (guix gexp)
|
---|
| 9 | (guix channels)
|
---|
| 10 | (gnu home services)
|
---|
| 11 | (gnu home services guix)
|
---|
| 12 | (gnu home services ssh)
|
---|
| 13 | (gnu home services desktop)
|
---|
| 14 | (gnu home services dotfiles)
|
---|
| 15 | (gnu home services shells)
|
---|
| 16 | (gnu home services gnupg))
|
---|
| 17 |
|
---|
| 18 | (define dotfiles-dir "/home/w96k/projects/dotfiles/")
|
---|
| 19 |
|
---|
| 20 | (define wkz-home (home-environment
|
---|
| 21 | (packages (specifications->packages (list
|
---|
[fc6fa17] | 22 | "mg"
|
---|
[254aa1d] | 23 | "ratpoison"
|
---|
[fc6fa17] | 24 | "xterm"
|
---|
| 25 | "screen"
|
---|
[254aa1d] | 26 | "xdot"
|
---|
| 27 | "graphviz"
|
---|
| 28 | "sed"
|
---|
[fc6fa17] | 29 | ;;"darktable"
|
---|
| 30 |
|
---|
| 31 | "global"
|
---|
| 32 | "emacs-ggtags"
|
---|
| 33 | "emacs-semantic-refactor"
|
---|
[254aa1d] | 34 | "openssh"
|
---|
| 35 | "docker-compose"
|
---|
| 36 | "emacs-company"
|
---|
| 37 | "emacs-f"
|
---|
| 38 | "emacs-s"
|
---|
| 39 | "emacs-xterm-color"
|
---|
| 40 | "emacs-lsp-mode"
|
---|
[fc6fa17] | 41 |
|
---|
[fde9de8] | 42 | "emacs-helm"
|
---|
[fc6fa17] | 43 | "emacs-helm-gtags"
|
---|
| 44 |
|
---|
[fde9de8] | 45 | "emacs-magit"
|
---|
| 46 | "emacs-git-timemachine"
|
---|
| 47 | "emacs-browse-kill-ring"
|
---|
| 48 | "emacs-anzu"
|
---|
| 49 | "emacs-sudo-edit"
|
---|
| 50 | "emacs-highlight"
|
---|
| 51 | "emacs-mastodon"
|
---|
| 52 | "emacs-org-roam"
|
---|
[fc6fa17] | 53 | "emacs-undo-tree"
|
---|
| 54 | "emacs-expand-region"
|
---|
| 55 |
|
---|
| 56 | "emacs-nyxt"
|
---|
| 57 | "nyxt"
|
---|
[254aa1d] | 58 |
|
---|
| 59 | "guile"
|
---|
| 60 | "guile-readline"
|
---|
| 61 | "guile-colorized"
|
---|
| 62 | "emacs-geiser"
|
---|
| 63 | "emacs-geiser-guile"
|
---|
| 64 |
|
---|
[fde9de8] | 65 | ;;"emacs-telega"
|
---|
[fc6fa17] | 66 | ;;"emacs-telega-contrib"
|
---|
[254aa1d] | 67 | "emacs-guix"
|
---|
| 68 | "emacs-simple-httpd"
|
---|
| 69 | "emacs-osm"
|
---|
[fc6fa17] | 70 | "translate-shell"
|
---|
[254aa1d] | 71 | "wget"
|
---|
| 72 | "bitcoin-core"
|
---|
[fc6fa17] | 73 | "monero"
|
---|
| 74 | "monero-gui"
|
---|
[254aa1d] | 75 | "xrandr"
|
---|
| 76 | "unzip"
|
---|
| 77 | "zip"
|
---|
| 78 | "mpv"
|
---|
[fc6fa17] | 79 | "ffmpeg"
|
---|
[254aa1d] | 80 | "emacs-rmsbolt"
|
---|
| 81 | "git"
|
---|
| 82 | ;; "wkz-emacs"
|
---|
| 83 | "emacs-no-x-toolkit"
|
---|
| 84 | "emacs-gptel"
|
---|
[fde9de8] | 85 | "emacs-nix-mode"
|
---|
[254aa1d] | 86 | "lm-sensors"
|
---|
| 87 | "htop"
|
---|
| 88 | "make"
|
---|
| 89 | "emacs-simple-httpd"
|
---|
| 90 | "emacs-guix"
|
---|
[fc6fa17] | 91 | ;;"gimp"
|
---|
[254aa1d] | 92 | "imagemagick"
|
---|
| 93 | "stow"
|
---|
[fc6fa17] | 94 | ;;"icecat"
|
---|
[254aa1d] | 95 | "smartmontools"
|
---|
| 96 | "lshw"
|
---|
| 97 | "hwinfo"
|
---|
| 98 | "ntfs-3g"
|
---|
| 99 | "qbittorrent"
|
---|
| 100 | "x11-ssh-askpass"
|
---|
| 101 | "syncthing"
|
---|
| 102 | "pavucontrol"
|
---|
| 103 | "arp-scan"
|
---|
| 104 | "proot"
|
---|
| 105 | "openconnect"
|
---|
| 106 | "alsa-utils"
|
---|
| 107 | "grep"
|
---|
| 108 | "xlockmore"
|
---|
| 109 | "x11-ssh-askpass"
|
---|
| 110 | "pinentry-emacs"
|
---|
[fc6fa17] | 111 | ;;"texlive"
|
---|
[254aa1d] | 112 | "fetchmail"
|
---|
| 113 | "gnupg"
|
---|
| 114 | "xhost"
|
---|
| 115 |
|
---|
[fde9de8] | 116 | "universal-ctags"
|
---|
[fc6fa17] | 117 |
|
---|
[fde9de8] | 118 | "c-intro-and-ref"
|
---|
[fc6fa17] | 119 | "sicp"
|
---|
| 120 |
|
---|
| 121 | "font-xfree86-type1"
|
---|
| 122 | "xlsfonts"
|
---|
| 123 | "font-alias"
|
---|
[254aa1d] | 124 | ;; "wkz-php"
|
---|
| 125 | ;; "wkz-python"
|
---|
| 126 | ;; "wkz-ruby"
|
---|
| 127 | )))
|
---|
| 128 |
|
---|
| 129 | ;; Below is the list of Home services. To search for available
|
---|
| 130 | ;; services, run 'guix home search KEYWORD' in a terminal.
|
---|
| 131 | (services
|
---|
| 132 | (list
|
---|
| 133 | ;; (service home-run-on-first-login-service-type)
|
---|
| 134 | ;; (service home-activation-service-type)
|
---|
| 135 |
|
---|
| 136 | (service home-bash-service-type
|
---|
| 137 | (home-bash-configuration
|
---|
| 138 | (guix-defaults? #t)
|
---|
| 139 | (aliases '(("grep" . "grep --color=auto")
|
---|
| 140 | ("ip" . "ip -color=auto")
|
---|
| 141 | ("ll" . "ls -l")
|
---|
| 142 | ("ls" . "ls -p --color=auto")))
|
---|
| 143 | (bashrc (list (local-file
|
---|
| 144 | ".bashrc"
|
---|
| 145 | "bashrc")))
|
---|
| 146 | ;; (bash-profile (list (local-file
|
---|
| 147 | ;; ".bash_profile"
|
---|
| 148 | ;; "bash_profile")))
|
---|
| 149 | ))
|
---|
| 150 |
|
---|
[fc6fa17] | 151 | ;; (service home-redshift-service-type
|
---|
| 152 | ;; (home-redshift-configuration
|
---|
| 153 | ;; (location-provider 'manual)
|
---|
| 154 | ;; (latitude 41.71)
|
---|
| 155 | ;; (longitude 44.82)
|
---|
| 156 | ;; ))
|
---|
[254aa1d] | 157 |
|
---|
| 158 | ;; (service home-x11-display-service-type)
|
---|
| 159 | (service home-gpg-agent-service-type
|
---|
| 160 | (home-gpg-agent-configuration
|
---|
| 161 | (pinentry-program
|
---|
| 162 | (file-append pinentry-emacs "/bin/pinentry-emacs"))
|
---|
| 163 | (ssh-support? #t)))
|
---|
| 164 |
|
---|
[fc6fa17] | 165 | ;; (service home-unclutter-service-type
|
---|
| 166 | ;; (home-unclutter-configuration
|
---|
| 167 | ;; (idle-timeout 1)))
|
---|
[254aa1d] | 168 |
|
---|
| 169 | (service home-openssh-service-type
|
---|
| 170 | (home-openssh-configuration
|
---|
| 171 | (authorized-keys (list (local-file "id_rsa.pub")))))
|
---|
| 172 |
|
---|
| 173 | (service home-startx-command-service-type
|
---|
| 174 | (xorg-configuration (keyboard-layout (keyboard-layout "us,ru"
|
---|
| 175 | #:options '("grp:shifts_toggle" "ctrl:nocaps")))))
|
---|
| 176 |
|
---|
| 177 | ;; (service home-files-service-type `((".xinitrc" ,(local-file ".xinitrc" "xinitrc"))))
|
---|
| 178 |
|
---|
| 179 | (service home-dotfiles-service-type
|
---|
| 180 | (home-dotfiles-configuration
|
---|
| 181 | ;; (layout 'stow)
|
---|
| 182 | (directories '(
|
---|
| 183 | "/home/w96k/projects/dotfiles/X"
|
---|
| 184 | "/home/w96k/projects/dotfiles/wm"
|
---|
| 185 | "/home/w96k/projects/dotfiles/emacs"
|
---|
| 186 | "/home/w96k/projects/dotfiles/cvs"
|
---|
| 187 | "/home/w96k/projects/dotfiles/guix"
|
---|
| 188 | ))))
|
---|
| 189 |
|
---|
| 190 | ;; (service home-ssh-agent-service-type
|
---|
| 191 | ;; (home-ssh-agent-configuration
|
---|
| 192 | ;; (extra-options '("-t" "1h30m"))))
|
---|
| 193 |
|
---|
| 194 | (simple-service 'nonguix-service
|
---|
| 195 | home-channels-service-type
|
---|
| 196 | (list
|
---|
| 197 | (channel
|
---|
| 198 | (name 'nonguix)
|
---|
| 199 | (url "https://gitlab.com/nonguix/nonguix")
|
---|
| 200 | (introduction
|
---|
| 201 | (make-channel-introduction
|
---|
| 202 | "897c1a470da759236cc11798f4e0a5f7d4d59fbc"
|
---|
| 203 | (openpgp-fingerprint
|
---|
| 204 | "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))))
|
---|
| 205 | ))))
|
---|
| 206 |
|
---|
| 207 | wkz-home
|
---|