fixed ipv6 on cirrus, fixed remote backups on cirrostratus.
This commit is contained in:
parent
084e4ca421
commit
31d93e3770
6 changed files with 11 additions and 18 deletions
|
|
@ -15,7 +15,6 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||
./disk-config.nix
|
||||
./hardware-configuration.nix
|
||||
./restic.nix
|
||||
./nginx.nix
|
||||
./copyparty.nix
|
||||
./torrent.nix
|
||||
../../configs/nixos/common.nix
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../../configs/nixos/nginx.nix
|
||||
];
|
||||
#Restic submits some huge requests sometimes.
|
||||
services.nginx.clientMaxBodySize = "1000m";
|
||||
}
|
||||
|
|
@ -25,7 +25,7 @@ in {
|
|||
|
||||
host.restic = {
|
||||
enable = true;
|
||||
repository = "/backup/restic/";
|
||||
repository = config.sops.secrets.restic-url.path;
|
||||
passwordFile = config.sops.secrets.restic-password.path;
|
||||
server = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -40,7 +40,8 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||
networking.useNetworkd = true;
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
networks."enp1s0" = {
|
||||
networks."10-enp1s0" = {
|
||||
name = "enp1s0";
|
||||
networkConfig.DHCP = "ipv4";
|
||||
gateway = ["fe80::1"];
|
||||
address = ["2a01:4f8:1c1b:6c7c::1/64"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue