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";
|
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;
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.prometheus2 = {
|
services.prometheus = {
|
||||||
enable = true;
|
enable = true;
|
||||||
scrapeConfigs = [
|
scrapeConfigs = [
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{config, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
backup.services.restic = {
|
backup.services.restic = {
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
midori
|
midori
|
||||||
paperkey
|
paperkey
|
||||||
gnupg
|
gnupg
|
||||||
haskellPackages.hopenpgp-tools
|
#haskellPackages.hopenpgp-tools
|
||||||
ctmg
|
ctmg
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -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 = ''
|
||||||
|
|
||||||
|
|
|
@ -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?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 */ ''
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue