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