From e49505c937426bb1bf9daa0ed2b86333528a20f2 Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Mon, 12 Aug 2024 18:20:20 +0500 Subject: [PATCH] feat: install restic --- nixos/services/minecraft.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nixos/services/minecraft.nix b/nixos/services/minecraft.nix index b00963e..cdcd559 100644 --- a/nixos/services/minecraft.nix +++ b/nixos/services/minecraft.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ config, pkgs, ... }: { users.groups = { minecraft = {}; @@ -25,4 +25,9 @@ "/var/lib/minecraft:/data" ]; }; + + # Backups. + environment.systemPackages = [ + pkgs.restic + ]; }