19.09: use new packages and smaller adjustments
This commit is contained in:
parent
e4ee96e986
commit
c8d01edebb
10 changed files with 34 additions and 27 deletions
|
@ -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;
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.prometheus2 = {
|
||||
services.prometheus = {
|
||||
enable = true;
|
||||
scrapeConfigs = [
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
midori
|
||||
paperkey
|
||||
gnupg
|
||||
haskellPackages.hopenpgp-tools
|
||||
#haskellPackages.hopenpgp-tools
|
||||
ctmg
|
||||
];
|
||||
|
||||
|
|
|
@ -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 = ''
|
||||
|
||||
|
|
|
@ -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?
|
||||
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 */ ''
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue