19.09: use new packages and smaller adjustments

This commit is contained in:
Ingolf Wagner 2019-10-26 13:46:37 +02:00
parent e4ee96e986
commit c8d01edebb
Signed by: palo
GPG key ID: 76BF5F1928B9618B
10 changed files with 34 additions and 27 deletions

View file

@ -55,7 +55,7 @@
root = "/srv/www/tech"; root = "/srv/www/tech";
extraConfig = '' extraConfig = ''
if (-d $request_filename) { if (-d $request_filename) {
rewrite [^/]$ $scheme://$http_host$uri/ permanent; rewrite [^/]$ $scheme://$http_host$request_uri/ permanent;
} }
''; '';
}; };
@ -72,7 +72,7 @@
root = "/srv/www/terranix"; root = "/srv/www/terranix";
extraConfig = '' extraConfig = ''
if (-d $request_filename) { if (-d $request_filename) {
rewrite [^/]$ $scheme://$http_host$uri/ permanent; rewrite [^/]$ $scheme://$http_host$request_uri/ permanent;
} }
''; '';
}; };

View file

@ -13,7 +13,7 @@
}; };
}; };
services.prometheus2 = { services.prometheus = {
enable = true; enable = true;
scrapeConfigs = [ scrapeConfigs = [
{ {

View file

@ -1,4 +1,4 @@
{config, ... }: { config, ... }:
{ {
backup.services.restic = { backup.services.restic = {

View file

@ -21,7 +21,7 @@
midori midori
paperkey paperkey
gnupg gnupg
haskellPackages.hopenpgp-tools #haskellPackages.hopenpgp-tools
ctmg ctmg
]; ];

View file

@ -89,11 +89,7 @@ in {
# all in audio group can do audio # all in audio group can do audio
systemWide = true; systemWide = true;
package = pkgs.pulseaudioLight.override { package = pkgs.pulseaudioFull;
jackaudioSupport = true;
# todo : check for bluetooth enable
bluetoothSupport = true;
};
extraConfig = '' extraConfig = ''

View file

@ -14,19 +14,18 @@
<cleverca22/qemu.nix> <cleverca22/qemu.nix>
./grub.nix ./grub.nix
./tinc.nix ./networking-qos.nix
./sshd.nix ./nginx-landingpage.nix
./sshd-known-hosts-private.nix ./nginx.nix
./sshd-known-hosts-public.nix
./sshd-known-hosts-bootup.nix
./packages.nix ./packages.nix
./restic.nix ./restic.nix
./syncthing.nix
./sftp-user.nix ./sftp-user.nix
./sshd-known-hosts-bootup.nix
./nginx.nix ./sshd-known-hosts-private.nix
./nginx-landingpage.nix ./sshd-known-hosts-public.nix
./networking-qos.nix ./sshd.nix
./syncthing.nix
./tinc.nix
]; ];
@ -70,4 +69,10 @@
zsh.enable = true; zsh.enable = true;
}; };
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you
# should.
system.stateVersion = "19.03"; # Did you read the comment?
} }

View file

@ -22,7 +22,8 @@ in
# needed for the SPC p g # needed for the SPC p g
pkgs.universal-ctags pkgs.universal-ctags
pkgs.nodePackages.tern pkgs.nodePackages.tern
unstable.emacs #unstable.emacs
pkgs.emacs
]; ];
# download git repositories into the home folder # download git repositories into the home folder

View file

@ -8,8 +8,12 @@ let
library = import <library> { inherit pkgs lib; }; library = import <library> { inherit pkgs lib; };
seafileClient = unstablePkgs.seafile-client.override{ #seafileClient = unstablePkgs.seafile-client.override{
seafile-shared = unstablePkgs.seafile-shared; # seafile-shared = unstablePkgs.seafile-shared;
#};
seafileClient = pkgs.seafile-client.override{
seafile-shared = pkgs.seafile-shared;
}; };
replaceLinks = pkgs.writers.writeBashBin "replace-link-with-content" /* sh */ '' replaceLinks = pkgs.writers.writeBashBin "replace-link-with-content" /* sh */ ''

View file

@ -16,7 +16,7 @@
environment.systemPackages = [ environment.systemPackages = [
# for `gpg --export $keyid | hokey lint` to check keys # for `gpg --export $keyid | hokey lint` to check keys
pkgs.haskellPackages.hopenpgp-tools #pkgs.haskellPackages.hopenpgp-tools
# for otp keys (but I use pass otp) # for otp keys (but I use pass otp)
# pkgs.yubioath-desktop # pkgs.yubioath-desktop

View file

@ -1,9 +1,10 @@
{ lib, ... }:
{ {
backup.services.restic = { backup.services.restic = {
"on-porani".enable = true; "on-porani".enable = lib.mkDefault true;
"on-workhorse".enable = true; "on-workhorse".enable = lib.mkDefault true;
"on-workout".enable = true; "on-workout".enable = lib.mkDefault true;
}; };
} }