home-config/home-configuration.scm
c1d0f9d65f1edf594b71d24be754b8895cecb399
· 6.3 KB · 116 lines
raw
| 1 | ;; This "home-environment" file can be passed to 'guix home reconfigure' |
| 2 | ;; to reproduce the content of your profile. This is "symbolic": it only |
| 3 | ;; specifies package names. To reproduce the exact same profile, you also |
| 4 | ;; need to capture the channels being used, as returned by "guix describe". |
| 5 | ;; See the "Replicating Guix" section in the manual. |
| 6 | |
| 7 | (use-modules (gnu home) |
| 8 | (gnu packages) |
| 9 | (gnu packages vim) |
| 10 | (gnu packages gcc) |
| 11 | (gnu packages gnupg) |
| 12 | (gnu services) |
| 13 | (guix packages) |
| 14 | (guix gexp) |
| 15 | (gnu home services shells) |
| 16 | (gnu home services desktop) |
| 17 | (gnu home services gnupg) |
| 18 | (gnu home services) |
| 19 | (ryan-services pipewire)) |
| 20 | |
| 21 | (define my-neovim |
| 22 | (package |
| 23 | (inherit neovim) |
| 24 | (native-inputs |
| 25 | (modify-inputs (package-native-inputs neovim) |
| 26 | (prepend gcc-12))))) |
| 27 | |
| 28 | (home-environment |
| 29 | ;; Below is the list of packages that will show up in your |
| 30 | ;; Home profile, under ~/.guix-home/profile. |
| 31 | (packages (append (specifications->packages (list "bat" |
| 32 | "qrencode" |
| 33 | "binutils" |
| 34 | "gcc-toolchain" |
| 35 | "borg" |
| 36 | "python-msgpack" |
| 37 | "libreoffice" |
| 38 | "flatpak" |
| 39 | "gnupg" |
| 40 | "lsof" |
| 41 | "pavucontrol" |
| 42 | "bind:utils" |
| 43 | "font-cns11643" |
| 44 | "syncthing" |
| 45 | "perl" |
| 46 | "tor" |
| 47 | "unzip" |
| 48 | "alacritty" |
| 49 | "htop" |
| 50 | "curl" |
| 51 | "pandoc" |
| 52 | "texlive-base" |
| 53 | "texlive-txfonts" |
| 54 | "texlive-amsfonts" |
| 55 | "texlive-lm" |
| 56 | "texlive-lm-math" |
| 57 | "texlive-iftex" |
| 58 | "texlive-unicode-math" |
| 59 | "texlive-fontspec" |
| 60 | "texlive-xcolor" |
| 61 | "texlive-latex-geometry" |
| 62 | "texlive-hyperref" |
| 63 | "texlive-latex-parskip" |
| 64 | "texlive-etoolbox" |
| 65 | "zathura" |
| 66 | "zathura-pdf-mupdf" |
| 67 | "fzf" |
| 68 | "weechat" |
| 69 | "icedove-minimal" |
| 70 | "gimp" |
| 71 | "python" |
| 72 | "python:tk" |
| 73 | "file" |
| 74 | "python-lsp-server" |
| 75 | "kdenlive" |
| 76 | "sqlite" |
| 77 | "mpv" |
| 78 | "playerctl" |
| 79 | "pamixer" |
| 80 | "git")) |
| 81 | (list my-neovim))) |
| 82 | |
| 83 | ;; Below is the list of Home services. To search for available |
| 84 | ;; services, run 'guix home search KEYWORD' in a terminal. |
| 85 | (services |
| 86 | (list (service home-bash-service-type |
| 87 | (home-bash-configuration |
| 88 | (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l") |
| 89 | ("ls" . "ls -p --color=auto") |
| 90 | ("python" . "python3"))) |
| 91 | (bashrc (list (local-file |
| 92 | "bashrc"))) |
| 93 | (bash-profile (list (local-file |
| 94 | "bash_profile"))))) |
| 95 | (service home-xdg-configuration-files-service-type |
| 96 | `(("nvim/init.vim" ,(local-file "nvim/config/init.vim")) |
| 97 | ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim")) |
| 98 | ("sway" ,(local-file "sway" #:recursive? #t)) |
| 99 | ("hypr" ,(local-file "hypr" #:recursive? #t)) |
| 100 | ("waybar" ,(local-file "waybar" #:recursive? #t)) |
| 101 | ("alacritty" ,(local-file "alacritty" #:recursive? #t)) |
| 102 | ("home-manager" ,(local-file "nix-home-manager" #:recursive? #t)) )) |
| 103 | (service home-files-service-type |
| 104 | `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim")) |
| 105 | (".ssh/config" ,(local-file "ssh/config")) |
| 106 | ;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol")) |
| 107 | ;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf")) |
| 108 | (".fonts" ,(local-file "fonts" #:recursive? #t)) |
| 109 | (".nix-channels" ,(local-file "nix-channels")))) |
| 110 | (service home-pipewire-service-type) |
| 111 | (service home-dbus-service-type) |
| 112 | (service home-gpg-agent-service-type |
| 113 | (home-gpg-agent-configuration |
| 114 | (pinentry-program |
| 115 | (file-append pinentry "/bin/pinentry")) |
| 116 | (ssh-support? #t))) ))) |