diff --git a/nixos/machines/chungus/disko-config.nix b/nixos/machines/chungus/disko-config.nix index aa67ff6..11b9f8d 100644 --- a/nixos/machines/chungus/disko-config.nix +++ b/nixos/machines/chungus/disko-config.nix @@ -141,6 +141,22 @@ in "com.sun:auto-snapshot:daily" = "true,keep=32"; }; }; + "services" = { + type = "zfs_fs"; + mountpoint = "/srv"; + options = { + mountpoint = "legacy"; + compression = "lz4"; + }; + }; + "services/gitea" = { + type = "zfs_fs"; + mountpoint = "/srv/gitea"; + options = { + mountpoint = "legacy"; + compression = "lz4"; + }; + }; }; }; diff --git a/nixos/machines/chungus/rsync.nix b/nixos/machines/chungus/rsync.nix index b74c792..842b04b 100644 --- a/nixos/machines/chungus/rsync.nix +++ b/nixos/machines/chungus/rsync.nix @@ -1,4 +1,4 @@ -{... }: +{ ... }: { -sops.secrets.rsync_private_key = {}; -} \ No newline at end of file + sops.secrets.rsync_private_key = { }; +} diff --git a/nixos/machines/robi/configuration.nix b/nixos/machines/robi/configuration.nix index 114a8d9..16ff9e4 100644 --- a/nixos/machines/robi/configuration.nix +++ b/nixos/machines/robi/configuration.nix @@ -82,7 +82,7 @@ services.printing.enable = false; services.smartd.enable = true; - # chungus rsync + # chungus rsync users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJkqVvuJSvRMO5pG2CHNNBxjB7HlJudK4TQs3BhbOWOD" ]; fileSystems."/var/lib/nextcloud" = {