diff options
author | aszlig <aszlig@redmoonstudios.org> | 2017-06-22 01:59:35 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2017-06-22 02:05:37 +0200 |
commit | 5990a4d62f2d3146ddd03ec2461d45b2102e5f42 (patch) | |
tree | 67fbf88a7db5f6d214bd211bba3450ea83ef2cc3 /modules | |
parent | a911f4231c6c0a4c7d7621873ae452a37d12faf4 (diff) |
devhell: Mergo overrides/pkgs into vuizvui
This introduces another profile module called "packages", which contains all the package configuration (including overrides) of all the machines in the devhell namespace. The machine-specific configuration is now merged into the machine configurations the same way as we've done previously with the services. One major difference here is that the haskellPackages workaround is no longer needed in the package configuration, as it is handled by vuizvui. Tested this by evaluating all machines and all evaluations succeeded. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @devhell
Diffstat (limited to 'modules')
-rw-r--r-- | modules/module-list.nix | 1 | ||||
-rw-r--r-- | modules/user/devhell/profiles/packages.nix | 321 |
2 files changed, 322 insertions, 0 deletions
diff --git a/modules/module-list.nix b/modules/module-list.nix index fbd5334c..52c61249 100644 --- a/modules/module-list.nix +++ b/modules/module-list.nix @@ -30,6 +30,7 @@ ./user/aszlig/services/vlock ./user/aszlig/system/kernel.nix ./user/devhell/profiles/base.nix + ./user/devhell/profiles/packages.nix ./user/devhell/profiles/services.nix ./user/openlab/base.nix ./user/openlab/labtops.nix diff --git a/modules/user/devhell/profiles/packages.nix b/modules/user/devhell/profiles/packages.nix new file mode 100644 index 00000000..a62479d0 --- /dev/null +++ b/modules/user/devhell/profiles/packages.nix @@ -0,0 +1,321 @@ +{ config, pkgs, lib, ... }: + +let + cfg = config.vuizvui.user.devhell.profiles.packages; + +in { + options.vuizvui.user.devhell.profiles.packages = { + enable = lib.mkEnableOption "Packages profile for devhell"; + }; + + config = lib.mkIf cfg.enable { + nixpkgs.config = { + pulseaudio = true; + + allowUnfree = true; + + systemd = { + enableKDbus = true; + }; + + conky = { + weatherMetarSupport = true; + mpdSupport = true; + wirelessSupport = true; + x11Support = false; + }; + + firefox = { + enableGTK3 = true; + enableOfficalBranding = true; + }; + + virtualbox = { + enableExtensionPack = true; + }; + + mpv = { + youtubeSupport = true; + }; + + nixpkgs.config.packageOverrides = super: { + gnupg = super.gnupg21; + + ncmpcpp = super.ncmpcpp.override { + visualizerSupport = true; + clockSupport = true; + }; + + sox = super.sox.override { + enableLame = true; + }; + }; + }; + + environment.systemPackages = with pkgs; [ + #attic + #emacs + #gitAndTools.git-annex + #ipfs + #john + #lxappearance + #sleuthkit + #texmacs + #tribler + #vimiv + #zotero + abcde + abook + accountsservice + antiword + apg + arandr + arc-theme + ascii + aspell + aspellDicts.de + aspellDicts.en + atftp + atom + audacity + axel + bc + beets + biber + bind + binutils + brotli + bup + cacert + cataclysm-dda + cava + ccrypt + chromaprint + chromium + cifs_utils + cipherscan + cmake + cmatrix + colordiff + compton + conky + cryptsetup + ctodo + cuetools + darkstat + dcfldd + ddrescue + dhcping + dmenu + dmidecode + docker + dos2unix + dosbox + duff + dynamic-colors + e2fsprogs + easytag + electrum + enhanced-ctorrent + ethtool + evince + fbida + fdupes + feh + ffmpeg-full + figlet + file + firefox + flac + foremost + freerdpUnstable + fuse_exfat + gajim + gcc + gdb + ghostscript + gimp + gitAndTools.git-extras + gitAndTools.git-remote-hg + gitAndTools.git2cl + gitAndTools.gitFastExport + gitAndTools.gitFull + gitAndTools.gitRemoteGcrypt + gitAndTools.gitSVN + gitAndTools.gitflow + gitAndTools.svn2git + gitAndTools.tig + glxinfo + gnome3.dconf + gnome3.defaultIconTheme + gnome3.gnome_themes_standard + gnufdisk + gnupg + gnupg1compat + gource + gparted + gpgme + gpicview + gptfdisk + graphviz + gstreamer + handbrake + hdparm + heimdall + hexedit + hplipWithPlugin + htop + i3lock + i3status + icedtea_web + iftop + imagemagick + impressive + inkscape + iotop + iptraf-ng + ipv6calc + jfsutils + jwhois + keepassx + keepassx-community + keepassx2 + keybase + kpcli + lftp + libarchive + libreoffice + lm_sensors + lsof + lxc + lynx + macchanger + manpages + mc + mcabber + mdp + mediainfo + mkvtoolnix + mmv + monkeysAudio + mono + monodevelop + mosh + mp3gain + mpc_cli + mpv + mtr + ncdu + ncmpcpp + neovim + nethack + nethogs + netkittftp + netrw + netsniff-ng + nitrogen + nix-prefetch-scripts + nix-repl + nixops + nload + nmap + ntfs3g + ntfsprogs + ntopng + numix-icon-theme + obnam + openssl + p7zip + pandoc + paperkey + pass + pasystray + pavucontrol + pciutils + picard + posix_man_pages + powertop + profanity + profile-cleaner + profile-sync-daemon + pv + python + python2 + python3 + python34Packages.hovercraft + pythonPackages.jrnl + pythonPackages.livestreamer + pythonPackages.rainbowstream + qemu + qrencode + recode + reiserfsprogs + rofi + rsync + ruby + safecopy + screen + scrot + shntool + silver-searcher + smartmontools + sox + speedtest-cli + spek + ssdeep + stow + strace + surfraw + taskwarrior + telnet + testdisk + texlive.combined.scheme-small + tftp-hpa + tldr + tmux + toilet + tomahawk + toxic + transcode + transgui + transmission_remote_gtk + tree + tty-clock + udevil + units + unrar + unzip + valgrind + vanilla-dmz + vim_configurable + virt-viewer + virtinst + virtmanager + vit + vivaldi + vlc + vlock + vnstat + vorbisTools + vorbisgain + w3m + wavpack + weechat + wget + which + wipe + wireshark + xfsprogs + xlibs.xev + xmpp-client + xpdf + xpra + xscreensaver + youtube-dl + zathura + zbar + zip + zsync + ]; + }; +} |