diff options
| author | EuAndreh <eu@euandre.org> | 2021-02-24 22:08:19 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-02-24 22:08:19 -0300 |
| commit | adf8cc55100b63812b5504245ffce19ea7ef40cf (patch) | |
| tree | 8e9f31e97fcd590e7c86e60225551027aec76a0c /configuration.nix | |
| parent | configuration.nix: decrease frequency of email fetching cronjob (diff) | |
| download | dotfiles-adf8cc55100b63812b5504245ffce19ea7ef40cf.tar.gz dotfiles-adf8cc55100b63812b5504245ffce19ea7ef40cf.tar.xz | |
configuration.nix: Add documentation and manpages
Diffstat (limited to 'configuration.nix')
| -rw-r--r-- | configuration.nix | 401 |
1 files changed, 210 insertions, 191 deletions
diff --git a/configuration.nix b/configuration.nix index 1c64b600..ddea5882 100644 --- a/configuration.nix +++ b/configuration.nix @@ -111,211 +111,230 @@ in { symbola ]; - environment.systemPackages = let - pkgs-19-09 = import (pkgs.fetchzip { - url = "https://github.com/NixOS/nixpkgs/archive/19.09.zip"; - sha256 = "0mhqhq21y5vrr1f30qd2bvydv4bbbslvyzclhw0kdxmkgg3z4c92"; - }) { }; + documentation = { + enable = true; + man.enable = true; + dev.enable = true; + man.generateCaches = true; + }; - noTestAttrs = { - doCheck = false; - doInstallCheck = false; - meta = { broken = false; }; - }; - # See https://github.com/NixOS/nixpkgs/issues/53938#issuecomment-454158967 - untested-quodlibet = - pkgs.quodlibet-full.overrideAttrs (oldAttrs: noTestAttrs); - fallback-quodlibet = - pkgs-19-09.quodlibet-full.overrideAttrs (oldAttrs: noTestAttrs); - active-quodlibet = untested-quodlibet; + environment = { + enableDebugInfo = true; - gpodder-with-youtube-dl = pkgs.gpodder.overrideAttrs (oldAttrs: { - propagatedBuildInputs = oldAttrs.propagatedBuildInputs - ++ [ pkgs.python3Packages.youtube-dl ]; - }); - bmake-with-alias = pkgs.bmake.overrideAttrs (oldAttrs: { - postInstall = '' - ln -s $out/bin/bmake $out/bin/make - ''; - }); - tinycc-with-posix-alias = pkgs.tinycc.overrideAttrs (oldAttrs: { - postInstall = '' - ln -s $out/bin/tcc $out/bin/c99 - ''; - }); - flex-with-posix-alias = pkgs.flex.overrideAttrs (oldAttrs: { - postInstall = '' - ln -s $out/bin/flex $out/bin/lex - ''; - }); - pax-with-good-path = pkgs.pax.overrideAttrs (oldAttrs: { - postPatch = '' - substituteInPlace ar_io.c --replace 'putenv' '// putenv' - ${({ postPatch = ""; } // oldAttrs).postPatch} - ''; - }); + systemPackages = let + pkgs-19-09 = import (pkgs.fetchzip { + url = "https://github.com/NixOS/nixpkgs/archive/19.09.zip"; + sha256 = "0mhqhq21y5vrr1f30qd2bvydv4bbbslvyzclhw0kdxmkgg3z4c92"; + }) { }; + + noTestAttrs = { + doCheck = false; + doInstallCheck = false; + meta = { broken = false; }; + }; + # See https://github.com/NixOS/nixpkgs/issues/53938#issuecomment-454158967 + untested-quodlibet = + pkgs.quodlibet-full.overrideAttrs (oldAttrs: noTestAttrs); + fallback-quodlibet = + pkgs-19-09.quodlibet-full.overrideAttrs (oldAttrs: noTestAttrs); + active-quodlibet = untested-quodlibet; - nu-packages = with pkgs; [ - awscli - yubioath-desktop - leiningen - openjdk8 - clojure # =clj= - kubernetes - nssTools # =pk12util= - python3 - ]; + gpodder-with-youtube-dl = pkgs.gpodder.overrideAttrs (oldAttrs: { + propagatedBuildInputs = oldAttrs.propagatedBuildInputs + ++ [ pkgs.python3Packages.youtube-dl ]; + }); + bmake-with-alias = pkgs.bmake.overrideAttrs (oldAttrs: { + postInstall = '' + ln -s $out/bin/bmake $out/bin/make + ''; + }); + tinycc-with-posix-alias = pkgs.tinycc.overrideAttrs (oldAttrs: { + postInstall = '' + ln -s $out/bin/tcc $out/bin/c99 + ''; + }); + flex-with-posix-alias = pkgs.flex.overrideAttrs (oldAttrs: { + postInstall = '' + ln -s $out/bin/flex $out/bin/lex + ''; + }); + pax-with-good-path = pkgs.pax.overrideAttrs (oldAttrs: { + postPatch = '' + substituteInPlace ar_io.c --replace 'putenv' '// putenv' + ${({ postPatch = ""; } // oldAttrs).postPatch} + ''; + }); - in with pkgs; - [ - ## Personal data tools - gitAndTools.git-open - gitAndTools.gitFull - gitAndTools.git-annex - gitAndTools.gitRemoteGcrypt - git-crypt - git-lfs - mr - borgbackup - pass - gnupg - pinentry_gtk2 - fossil - mercurial + nu-packages = with pkgs; [ + awscli + yubioath-desktop + leiningen + openjdk8 + clojure # =clj= + kubernetes + nssTools # =pk12util= + python3 + ]; - ## CLI tools - groff - mktorrent - diffoscope - bundix - bash-completion - nix-bash-completions - youtube-dl - wget - tmux - tmuxinator - sox # =play=, SoX - Sound eXchange - gettext - rlwrap - jq - rq - openvpn - xclip - psmisc # =killall= - xorg.xkill - gksu - tree - unzip # used by extract bash function and Clojure go-to-source - feh - nixUnstable # =nix= - bind # =dig= - rsync - moreutils # =vipe=, =sponge= - graphviz # =dot= and others - graph-easy # ASCII drawings for GraphViz output - mkpasswd - direnv - recutils - sqlite - trash-cli - entr - mailutils - ffmpeg-full - ledger - gnuplot - ranger - electrum - zathura - st - pavucontrol - newsboat - acpi - xsel - pinentry - nixfmt - # nvi # broken, now using the one from Guix - fzf - calcurse - pandoc - buku # replaces Firefox bookmarks - cloc - inetutils # telnet - doas + in with pkgs; + [ + ## Documentation + man-pages + posix_man_pages + scheme-manpages + stdman + stdmanpages - ## Mail - notmuch - isync + ## Personal data tools + gitAndTools.git-open + gitAndTools.gitFull + gitAndTools.git-annex + gitAndTools.gitRemoteGcrypt + git-crypt + git-lfs + mr + borgbackup + pass + gnupg + pinentry_gtk2 + fossil + mercurial - ## Conversations - mutt - gomuks - weechat # replacing ERC - poezio + ## CLI tools + groff + mktorrent + diffoscope + bundix + bash-completion + nix-bash-completions + youtube-dl + wget + tmux + tmuxinator + sox # =play=, SoX - Sound eXchange + gettext + rlwrap + jq + rq + openvpn + xclip + psmisc # =killall= + xorg.xkill + gksu + tree + unzip # used by extract bash function and Clojure go-to-source + feh + nixUnstable # =nix= + bind # =dig= + rsync + moreutils # =vipe=, =sponge= + graphviz # =dot= and others + graph-easy # ASCII drawings for GraphViz output + mkpasswd + direnv + recutils + sqlite + trash-cli + entr + mailutils + ffmpeg-full + ledger + gnuplot + ranger + electrum + zathura + st + pavucontrol + newsboat + acpi + xsel + pinentry + nixfmt + # nvi # broken, now using the one from Guix + fzf + calcurse + pandoc + buku # replaces Firefox bookmarks + cloc + inetutils # telnet + doas + nodePackages.node2nix - ## Programming tools - perl - shellcheck - mrsh - dash - gcc - clang-tools - valgrind + ## Mail + notmuch + isync - ## POSIX - bmake-with-alias - byacc - bc - pax-with-good-path - lzip - flex-with-posix-alias - gnugrep - file - ed - tinycc-with-posix-alias - m4 - llvmPackages.bintools # ar, nm and friends - units + ## Conversations + mutt + gomuks + weechat # replacing ERC + poezio - ## Containers and VMs - qemu - expect + ## Programming tools + perl + shellcheck + mrsh + dash + gcc + clang-tools + valgrind - ## xmonad - xorg.xmodmap - xorg.xmessage - dmenu - escrotum - xorg.xbacklight - playerctl - lightdm - fvwm # =xpmroot= - haskellPackages.xmobar - arandr - alsaUtils # for xmonad volume commands - yad + ## POSIX + bmake-with-alias + byacc + bc + pax-with-good-path + lzip + flex-with-posix-alias + gnugrep + file + ed + tinycc-with-posix-alias + m4 + llvmPackages.bintools # ar, nm and friends + units - ## EuAndreh overlay - xyz-euandreh.remembering-latest - xyz-euandreh.autoqemu-latest - xyz-euandreh.fallible-latest + ## Containers and VMs + qemu + expect - ## GUI programs - audacity - zbar - calibre - qutebrowser - (mpv-with-scripts.override { - scripts = with mpvScripts; [ mpris sponsorblock ]; - }) + ## xmonad + xorg.xmodmap + xorg.xmessage + dmenu + escrotum + xorg.xbacklight + playerctl + lightdm + fvwm # =xpmroot= + haskellPackages.xmobar + arandr + alsaUtils # for xmonad volume commands + yad - ## Candidates to be replaced by alternatives - emacs # just missing configuring mutt - active-quodlibet # cmus + mutagen - gpodder-with-youtube-dl # podboat? - transmission-gtk # Transmission TUI - firefox # qutebrowser: the ad-blocker working, but uBlock Origin is still much better - tdesktop # telegram -> gomuks - ] ++ proprietaryPackages ++ nu-packages; + ## EuAndreh overlay + xyz-euandreh.remembering-latest # FIX ME + xyz-euandreh.autoqemu-latest + # xyz-euandreh.fallible-latest + + ## GUI programs + audacity + zbar + calibre + qutebrowser + (mpv-with-scripts.override { + scripts = with mpvScripts; [ mpris sponsorblock ]; + }) + + ## Candidates to be replaced by alternatives + emacs # just missing configuring mutt + active-quodlibet # cmus + mutagen + gpodder-with-youtube-dl # podboat? + transmission-gtk # Transmission TUI + firefox # qutebrowser: the ad-blocker working, but uBlock Origin is still much better + tdesktop # telegram -> gomuks + ] ++ proprietaryPackages ++ nu-packages; + }; nixpkgs = { config = { |
