From bdd457512a6f1ba10c67a3b8b5811312ee333bfa Mon Sep 17 00:00:00 2001 From: Ethan Simmons Date: Wed, 18 Dec 2024 19:08:17 -0600 Subject: [PATCH] Fix backup --- flake.nix | 33 ++++++++++++++++++--------------- hosts/alpheratz/system.nix | 6 ++++-- 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/flake.nix b/flake.nix index b23b4ad..abb61e2 100644 --- a/flake.nix +++ b/flake.nix @@ -157,26 +157,29 @@ }; - backup = { - enable = true; - user = "eesim"; - paths = [ "/home/eesim" ]; - repo = "t643s856@t643s856.repo.borgbase.com:repo"; - excludes = [ - "/home/eesim/.cache/" - "/home/eesim/configs/mc-distant-horizons" - "/home/eesim/configs/mc-arcadia" - ]; - key = "/home/eesim/.ssh/id_ed25519"; - passphrase = "/run/secrets/borgbase/nix-alpheratz"; - repeat = "daily"; - }; - school = { enable = true; citrix = true; }; + games = { + enable = true; + }; + + backup = { + user = "eesim"; + paths = [ "/home/eesim" ]; + repo = "t643s856@t643s856.repo.borgbase.com:repo"; + excludes = [ + "/home/eesim/.cache/" + "/home/eesim/configs/mc-distant-horizons" + "/home/eesim/configs/mc-arcadia" + ]; + key = "/home/eesim/.ssh/id_ed25519"; + passphrase = "/run/secrets/borgbase/nix-alpheratz"; + repeat = "daily"; + }; + common.nil.enable = true; networking = { diff --git a/hosts/alpheratz/system.nix b/hosts/alpheratz/system.nix index b161cbd..9d8c4db 100644 --- a/hosts/alpheratz/system.nix +++ b/hosts/alpheratz/system.nix @@ -29,13 +29,15 @@ secrets."wireguard/private" = {}; secrets."wireguard/preshared" = {}; - secrets."borgbase/nix-alpheratz" = {}; + secrets."borgbase/nix-alpheratz" = { + owner = "eesim"; + }; }; environment.systemPackages = with pkgs; [ localPackages.x86_64-linux.jhelioviewer bottles - ]; + ]; services.printing.enable = false; services.avahi = {