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

@ -6,11 +6,13 @@ let
unstable = import <nixos-unstable> {}; unstable = import <nixos-unstable> {};
mybrowser = firefox; mybrowser = firefox;
lorri = import (fetchTarball { url = "https://github.com/target/lorri/archive/rolling-release.tar.gz"; }) {}; lorri = import (fetchTarball { url = "https://github.com/target/lorri/archive/rolling-release.tar.gz"; }) {};
pypi2nix = import (pkgs.fetchgit { pypi2nix = import (
pkgs.fetchgit {
url = "https://github.com/nix-community/pypi2nix"; url = "https://github.com/nix-community/pypi2nix";
rev = "v2.0.0"; rev = "v2.0.0";
sha256 = "sha256:1mrvbm78jnk7m44gvpa7l2iwrjiv9584f14vlcw9p334zxknpsfr"; sha256 = "sha256:1mrvbm78jnk7m44gvpa7l2iwrjiv9584f14vlcw9p334zxknpsfr";
}) {}; }
) {};
desktopApps = [ desktopApps = [
mybrowser mybrowser
@ -45,8 +47,11 @@ let
cawbird cawbird
tootle tootle
subsurface subsurface
(pkgs.pidgin-with-plugins.override { (
plugins = [ pkgs.pidginotr ];}) pkgs.pidgin-with-plugins.override {
plugins = [ pkgs.pidginotr ];
}
)
# for Hibiscus banking software # for Hibiscus banking software
jameica jameica
@ -63,11 +68,13 @@ let
exiftool exiftool
gimp gimp
] ]
++ (with gimpPlugins; [ ++ (
with gimpPlugins; [
resynthesizer2 resynthesizer2
fourier fourier
lqrPlugin lqrPlugin
]); ]
);
multimediaApps = [ multimediaApps = [
mpv mpv
@ -150,13 +157,15 @@ let
akonadiconsole akonadiconsole
plasma-browser-integration plasma-browser-integration
] ]
++ (with kdeFrameworks; [ ++ (
with kdeFrameworks; [
networkmanager-qt networkmanager-qt
kcrash kcrash
plasma5.breeze-gtk plasma5.breeze-gtk
libsForQt5.phonon-backend-vlc libsForQt5.phonon-backend-vlc
#(phonon-backend-vlc.override {qtbase=qt5.qtbase; qtx11extras=qt5.qtx11extras;}) #(phonon-backend-vlc.override {qtbase=qt5.qtbase; qtx11extras=qt5.qtx11extras;})
]); ]
);
devTools = [ devTools = [
curl curl
@ -182,7 +191,8 @@ let
kile kile
biber biber
# customize texlive installation # customize texlive installation
(texlive.combine { (
texlive.combine {
inherit (texlive) inherit (texlive)
scheme-medium scheme-medium
@ -203,8 +213,10 @@ let
fontawesome fontawesome
biblatex biblatex
logreq logreq
koma-script; koma-script
}) ;
}
)
]; ];
pythonApps = with python3Packages; [ pythonApps = with python3Packages; [
@ -217,8 +229,9 @@ let
flake8 flake8
mypy mypy
] ]
++ (with python2Packages; [ ++ (
]); with python2Packages; []
);
fonts = [ fonts = [
@ -243,7 +256,8 @@ let
in in
{ {
home.packages = ([] home.packages = (
[]
++ desktopApps ++ desktopApps
++ latexApps ++ latexApps
++ pythonApps ++ pythonApps
@ -262,7 +276,8 @@ in
home.stateVersion = "18.09"; home.stateVersion = "18.09";
programs.direnv = programs.direnv =
{ enable = true; {
enable = true;
enableZshIntegration = true; enableZshIntegration = true;
}; };
@ -273,7 +288,8 @@ in
programs.bat.enable = true; programs.bat.enable = true;
services.gpg-agent = services.gpg-agent =
{ enable = true; {
enable = true;
enableSshSupport = true; enableSshSupport = true;
}; };