home-config/home-configuration.scm
bde398cb8c3dd49ec9d726ef9bef8e6c99766c46
· 10.3 KB · 186 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 | (ryan-services spotify) |
| 21 | (ryan-services file-manager) |
| 22 | (ryan-config utils) |
| 23 | (ryan-packages freedesktop) |
| 24 | (ryan-packages calcurse) |
| 25 | ;(ryan-packages binaries) |
| 26 | (rosenthal packages binaries) |
| 27 | (ryan-packages mozilla)) |
| 28 | |
| 29 | (define my-neovim |
| 30 | (package |
| 31 | (inherit neovim) |
| 32 | (native-inputs |
| 33 | (modify-inputs (package-native-inputs neovim) |
| 34 | (prepend gcc-12))))) |
| 35 | |
| 36 | (define %home-symlinks |
| 37 | `((".config/guix/home-config/fish" ".config/fish") |
| 38 | (".config/guix/home-config/nix-config" ".config/nix") |
| 39 | (".config/guix/home-config/tridactyl/native_main" ".local/share/tridactyl/native_main") |
| 40 | (".config/guix/home-config/nix-home-manager" ".config/home-manager"))) |
| 41 | |
| 42 | (home-symlinks %home-symlinks) |
| 43 | |
| 44 | (home-environment |
| 45 | ;; Below is the list of packages that will show up in your |
| 46 | ;; Home profile, under ~/.guix-home/profile. |
| 47 | (packages (append (specifications->packages (list "bat" |
| 48 | "fd" |
| 49 | "fish" |
| 50 | "xdg-utils" |
| 51 | "abook" |
| 52 | "libnotify" |
| 53 | "fzf" |
| 54 | "waypipe" |
| 55 | "foot" |
| 56 | "pulseaudio" ;only for pactl |
| 57 | "qpwgraph" |
| 58 | "gnunet" |
| 59 | ;"ffmpeg" ; removed for mpv prop input |
| 60 | "qrencode" |
| 61 | "tmux" |
| 62 | "binutils" |
| 63 | "gcc-toolchain" |
| 64 | "borg" |
| 65 | "restic" |
| 66 | "rsync" |
| 67 | "cloc" |
| 68 | "sc-im" |
| 69 | "pv" |
| 70 | "jq" |
| 71 | "bombadillo" |
| 72 | "python-msgpack" |
| 73 | "wdisplays" |
| 74 | "kanshi" |
| 75 | "libreoffice" |
| 76 | "flatpak" |
| 77 | "gnupg" |
| 78 | "spotifyd" |
| 79 | "lsof" |
| 80 | "pavucontrol" |
| 81 | "netcat" |
| 82 | "bind:utils" |
| 83 | "font-cns11643" |
| 84 | "font-google-noto-emoji" |
| 85 | "syncthing" |
| 86 | "taskwarrior" |
| 87 | "tasksh" |
| 88 | "imv" |
| 89 | "perl" |
| 90 | "tor" |
| 91 | "unzip" |
| 92 | "htop" |
| 93 | "curl" |
| 94 | "pandoc" |
| 95 | "texlive-bin" |
| 96 | "texlive-scheme-basic" |
| 97 | "texlive-txfonts" |
| 98 | "texlive-amsfonts" |
| 99 | "texlive-lm" |
| 100 | "texlive-lm-math" |
| 101 | "texlive-iftex" |
| 102 | "texlive-unicode-math" |
| 103 | "texlive-fontspec" |
| 104 | "texlive-xcolor" |
| 105 | "texlive-geometry" |
| 106 | "texlive-hyperref" |
| 107 | "texlive-parskip" |
| 108 | "texlive-etoolbox" |
| 109 | "texlive-setspace" |
| 110 | "zathura" |
| 111 | "zathura-pdf-mupdf" |
| 112 | "go" |
| 113 | "fzf" |
| 114 | "weechat" |
| 115 | "gimp" |
| 116 | "python" |
| 117 | "python:tk" |
| 118 | "file" |
| 119 | "python-lsp-server" |
| 120 | "kdenlive" |
| 121 | "sqlite" |
| 122 | "mpv" |
| 123 | "qbittorrent" |
| 124 | "playerctl" |
| 125 | ;"aerc" |
| 126 | "tcpdump" |
| 127 | "pamixer" |
| 128 | "git" |
| 129 | "git:send-email" |
| 130 | "password-store" |
| 131 | "node" |
| 132 | "kanshi" |
| 133 | ;"firefox" |
| 134 | "signal-desktop" |
| 135 | "sc-im" |
| 136 | "git-lfs")) |
| 137 | (list my-neovim wl-mirror firefox-wrapped calcurse-fixed ))) |
| 138 | |
| 139 | ;; Below is the list of Home services. To search for available |
| 140 | ;; services, run 'guix home search KEYWORD' in a terminal. |
| 141 | (services |
| 142 | (list ;(service home-bash-service-type |
| 143 | ; (home-bash-configuration |
| 144 | ;(aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l") |
| 145 | ; ("ls" . "ls -p --color=auto") |
| 146 | ; ("spt" . "spotify_player") |
| 147 | ; ("python" . "python3"))) |
| 148 | ; (bashrc (list (local-file |
| 149 | ; "bashrc"))) |
| 150 | ; (bash-profile (list (local-file |
| 151 | ; "bash_profile"))))) |
| 152 | (service home-xdg-configuration-files-service-type |
| 153 | `(("nvim/init.vim" ,(local-file "nvim/config/init.vim")) |
| 154 | ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim")) |
| 155 | ("nvim/after/ftplugin/mail/custom.vim" ,(local-file "nvim/config/after/ftplugin/mail/custom.vim")) |
| 156 | ("sway" ,(local-file "sway" #:recursive? #t)) |
| 157 | ("hypr" ,(local-file "hypr" #:recursive? #t)) |
| 158 | ("mpv" ,(local-file "mpv" #:recursive? #t)) |
| 159 | ("foot" ,(local-file "foot" #:recursive? #t)) |
| 160 | ("pulse/client.conf" ,(local-file "pulseaudio/client.conf")) |
| 161 | ("waybar" ,(local-file "waybar" #:recursive? #t)) |
| 162 | ("alacritty" ,(local-file "alacritty" #:recursive? #t)) |
| 163 | ("aerc" ,(local-file "aerc" #:recursive? #t)) )) |
| 164 | (service home-files-service-type |
| 165 | `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim")) |
| 166 | (".ssh/config" ,(local-file "ssh/config")) |
| 167 | (".icons" ,(local-file "icons" #:recursive? #t)) |
| 168 | (".mozilla/native-messaging-hosts/tridactyl.json" ,(local-file "tridactyl/tridactyl.json")) |
| 169 | ;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol")) |
| 170 | ;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf")) |
| 171 | (".fonts" ,(local-file "fonts" #:recursive? #t)) |
| 172 | (".gitconfig" ,(local-file "gitconfig")) |
| 173 | (".docker/cli-plugins" ,(local-file "docker/cli-plugins" #:recursive? #t)) |
| 174 | (".nix-channels" ,(local-file "nix-channels")))) |
| 175 | (service home-pipewire-service-type) |
| 176 | (service home-spotifyd-service-type) |
| 177 | (service home-dbus-service-type) |
| 178 | ;;; trying some changes |
| 179 | ;(template-files "." |
| 180 | ;'("spotify-player/app.toml" |
| 181 | ;;; |
| 182 | (service home-gpg-agent-service-type |
| 183 | (home-gpg-agent-configuration |
| 184 | (pinentry-program |
| 185 | (file-append pinentry "/bin/pinentry")) |
| 186 | (ssh-support? #t))) ))) |