diff options
Diffstat (limited to 'modules/private/system')
-rw-r--r-- | modules/private/system/backup-2.nix | 6 | ||||
-rw-r--r-- | modules/private/system/dilion.nix | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/modules/private/system/backup-2.nix b/modules/private/system/backup-2.nix index 4e24c12..6829f1b 100644 --- a/modules/private/system/backup-2.nix +++ b/modules/private/system/backup-2.nix | |||
@@ -1,5 +1,5 @@ | |||
1 | { privateFiles }: | 1 | { privateFiles }: |
2 | { config, pkgs, resources, ... }: | 2 | { config, pkgs, resources, name, ... }: |
3 | { | 3 | { |
4 | boot.kernelPackages = pkgs.linuxPackages_latest; | 4 | boot.kernelPackages = pkgs.linuxPackages_latest; |
5 | myEnv = import "${privateFiles}/environment.nix" // { inherit privateFiles; }; | 5 | myEnv = import "${privateFiles}/environment.nix" // { inherit privateFiles; }; |
@@ -35,6 +35,10 @@ | |||
35 | }; | 35 | }; |
36 | 36 | ||
37 | myServices.certificates.enable = true; | 37 | myServices.certificates.enable = true; |
38 | security.acme.certs."${name}" = { | ||
39 | user = config.services.nginx.user; | ||
40 | group = config.services.nginx.group; | ||
41 | }; | ||
38 | services.nginx = { | 42 | services.nginx = { |
39 | enable = true; | 43 | enable = true; |
40 | recommendedOptimisation = true; | 44 | recommendedOptimisation = true; |
diff --git a/modules/private/system/dilion.nix b/modules/private/system/dilion.nix index 788c2dc..911c76d 100644 --- a/modules/private/system/dilion.nix +++ b/modules/private/system/dilion.nix | |||
@@ -101,8 +101,8 @@ | |||
101 | 101 | ||
102 | # This is equivalent to setting environment.sessionVariables.NIX_PATH | 102 | # This is equivalent to setting environment.sessionVariables.NIX_PATH |
103 | nix.nixPath = [ | 103 | nix.nixPath = [ |
104 | "home-manager=https://github.com/rycee/home-manager/archive/release-19.03.tar.gz" | 104 | "home-manager=https://github.com/rycee/home-manager/archive/master.tar.gz" |
105 | "nixpkgs=https://nixos.org/channels/nixos-19.03/nixexprs.tar.xz" | 105 | "nixpkgs=https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz" |
106 | ]; | 106 | ]; |
107 | nix.binaryCaches = [ "https://hydra.iohk.io" "https://cache.nixos.org" ]; | 107 | nix.binaryCaches = [ "https://hydra.iohk.io" "https://cache.nixos.org" ]; |
108 | nix.binaryCachePublicKeys = [ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" ]; | 108 | nix.binaryCachePublicKeys = [ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" ]; |