auto-format home.nix with nixpkgs-fmt

This commit is contained in:
Trolli Schmittlauch 2019-11-12 17:59:59 +01:00
parent f1f208ce59
commit a0b6d40323

View file

@ -5,12 +5,14 @@ with pkgs;
let
unstable = import <nixos-unstable> {};
mybrowser = firefox;
lorri = import (fetchTarball { url = "https://github.com/target/lorri/archive/rolling-release.tar.gz"; }) { };
pypi2nix = import (pkgs.fetchgit {
lorri = import (fetchTarball { url = "https://github.com/target/lorri/archive/rolling-release.tar.gz"; }) {};
pypi2nix = import (
pkgs.fetchgit {
url = "https://github.com/nix-community/pypi2nix";
rev = "v2.0.0";
sha256 = "sha256:1mrvbm78jnk7m44gvpa7l2iwrjiv9584f14vlcw9p334zxknpsfr";
}) {};
}
) {};
desktopApps = [
mybrowser
@ -34,7 +36,7 @@ let
backintime-common
anki
signal-desktop
(tor-browser-bundle-bin.override {mediaSupport=true;pulseaudioSupport=true;})
(tor-browser-bundle-bin.override { mediaSupport = true; pulseaudioSupport = true; })
virtualbox
pdfpc
quaternion
@ -45,8 +47,11 @@ let
cawbird
tootle
subsurface
(pkgs.pidgin-with-plugins.override {
plugins = [ pkgs.pidginotr ];})
(
pkgs.pidgin-with-plugins.override {
plugins = [ pkgs.pidginotr ];
}
)
# for Hibiscus banking software
jameica
@ -63,11 +68,13 @@ let
exiftool
gimp
]
++ (with gimpPlugins; [
++ (
with gimpPlugins; [
resynthesizer2
fourier
lqrPlugin
]);
]
);
multimediaApps = [
mpv
@ -150,13 +157,15 @@ let
akonadiconsole
plasma-browser-integration
]
++ (with kdeFrameworks; [
++ (
with kdeFrameworks; [
networkmanager-qt
kcrash
plasma5.breeze-gtk
libsForQt5.phonon-backend-vlc
#(phonon-backend-vlc.override {qtbase=qt5.qtbase; qtx11extras=qt5.qtx11extras;})
]);
]
);
devTools = [
curl
@ -182,7 +191,8 @@ let
kile
biber
# customize texlive installation
(texlive.combine {
(
texlive.combine {
inherit (texlive)
scheme-medium
@ -203,8 +213,10 @@ let
fontawesome
biblatex
logreq
koma-script;
})
koma-script
;
}
)
];
pythonApps = with python3Packages; [
@ -217,8 +229,9 @@ let
flake8
mypy
]
++ (with python2Packages; [
]);
++ (
with python2Packages; []
);
fonts = [
@ -229,7 +242,7 @@ let
ubuntu_font_family
twemoji-color-font
opensans-ttf
(iosevka.override {design = [ "slab" "term" ]; set = "serif";})
(iosevka.override { design = [ "slab" "term" ]; set = "serif"; })
# TODO: vollkorn
# TODO: humor-sans
];
@ -243,7 +256,8 @@ let
in
{
home.packages = ([]
home.packages = (
[]
++ desktopApps
++ latexApps
++ pythonApps
@ -262,18 +276,20 @@ in
home.stateVersion = "18.09";
programs.direnv =
{ enable = true;
{
enable = true;
enableZshIntegration = true;
};
# programs.vim =
# { enable = true;
# };
# programs.vim =
# { enable = true;
# };
programs.bat.enable = true;
services.gpg-agent =
{ enable = true;
{
enable = true;
enableSshSupport = true;
};