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";
extraConfig = ''
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";
extraConfig = ''
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;
scrapeConfigs = [
{

View file

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

View file

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

View file

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

View file

@ -14,19 +14,18 @@
<cleverca22/qemu.nix>
./grub.nix
./tinc.nix
./sshd.nix
./sshd-known-hosts-private.nix
./sshd-known-hosts-public.nix
./sshd-known-hosts-bootup.nix
./networking-qos.nix
./nginx-landingpage.nix
./nginx.nix
./packages.nix
./restic.nix
./syncthing.nix
./sftp-user.nix
./nginx.nix
./nginx-landingpage.nix
./networking-qos.nix
./sshd-known-hosts-bootup.nix
./sshd-known-hosts-private.nix
./sshd-known-hosts-public.nix
./sshd.nix
./syncthing.nix
./tinc.nix
];
@ -70,4 +69,10 @@
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
pkgs.universal-ctags
pkgs.nodePackages.tern
unstable.emacs
#unstable.emacs
pkgs.emacs
];
# download git repositories into the home folder

View file

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

View file

@ -16,7 +16,7 @@
environment.systemPackages = [
# 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)
# pkgs.yubioath-desktop

View file

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