1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

nix optimise; restructure packages

This commit is contained in:
Kierán Meinhardt
2019-01-02 02:18:27 +01:00
parent e214fb4316
commit 6e2d8d5b69
3 changed files with 82 additions and 55 deletions

View File

@@ -1,5 +1,7 @@
{ config, pkgs, lib, ... }:
let scripts = import ../dot/scripts.nix { inherit pkgs lib; };
let
scripts = import ../dot/scripts.nix { inherit pkgs lib; };
daybook = pkgs.callPackage ../packages/daybook.nix {};
in with pkgs;
{
nixpkgs.config.allowUnfree = true;
@@ -7,56 +9,73 @@ in with pkgs;
fonts.enableDefaultFonts = true;
fonts.fonts = [
corefonts
xlibs.fontschumachermisc
eb-garamond
fira
font-awesome-ttf
libertine
lmodern
powerline-fonts
roboto
xlibs.fontschumachermisc
];
environment.systemPackages = [
] ++ [ # office
abiword
arandr
bat
blueman
chromium
gnumeric
] ++ [ # theme
config.constants.theme.gtk.package
config.constants.theme.icon.package
config.constants.theme.cursor.package
dos2unix
ffmpeg
file
] ++ [ # internet
aria2
chromium
firefox
git
gnumake
gnumeric
gthumb
htop
imagemagick
libnotify
lsof
lxappearance
mpv
pamixer
pavucontrol
pmount
ranger
ripgrep
tree
rlwrap
tor-browser-bundle-bin
unzip
w3m
wget
whois
xclip
] ++ [ # media
ffmpeg
mpv
pamixer
pavucontrol
gthumb
imagemagick
sxiv
blueman
zathura
] ++ [ # archive
unzip
unrar
p7zip
] ++ [ # monitor
htop
iotop
iftop
lsof
psmisc
] ++ [ # shell
bat
dos2unix
file
git
manpages
posix_man_pages
most
ranger
ripgrep
rlwrap
tree
] ++ [ # hardware
pmount
usbutils
pciutils
] ++ [ # graphical
arandr
libnotify
xclip
xorg.xkill
wpa_supplicant_gui
zathura
];
programs.command-not-found.enable = true;
@@ -69,6 +88,7 @@ in with pkgs;
services.dbus.packages = [ pkgs.gnome3.dconf ];
users.users.kfm.packages = scripts ++ [
] ++ [ # typesetting
(texlive.combine { inherit (pkgs.texlive)
scheme-tetex
latexmk
@@ -90,49 +110,53 @@ in with pkgs;
stdclsdv
xstring;
})
(callPackage ../packages/daybook {})
audacity
cabal-install
cabal2nix
calibre
pandoc
haskellPackages.pandoc-citeproc
] ++ [ # programming
cloc
gnumake
cabal2nix
clojure
dropbox-cli
fsharp
gcc
ghc
gnuplot
graphviz
grive2
haskellPackages.ghcid
haskellPackages.hakyll
haskellPackages.hasktags
haskellPackages.hindent
haskellPackages.hoogle
pandoc
haskellPackages.pandoc-citeproc
hlint
inkscape
jo jq
lua
maxima
memo
mypy
nix-prefetch-git
nodejs
ocaml
par
python3
python36Packages.black
python36Packages.flake8
racket-minimal
rustup
scala
seafile-client
shellcheck
stack
] ++ [ # media
audacity
calibre
youtubeDL
spotify
stack
# zeroad
inkscape
] ++ [ # cloud
dropbox-cli
grive2
seafile-client
] ++ [ # math
bc
graphviz
maxima
] ++ [ # shell
daybook
jo
jq
memo
par
];
}