diff --git a/machines/Sheol/august.nix b/machines/Sheol/august.nix index f54cd4a..90167fb 100644 --- a/machines/Sheol/august.nix +++ b/machines/Sheol/august.nix @@ -1,28 +1,38 @@ -{ ... }: +{ pkgs, ... }: { users.users.august = { isNormalUser = true; createHome = false; + packages = [ pkgs.borgbackup ]; }; services.openssh.extraConfig = '' Match User august AllowUsers august PermitEmptyPasswords yes - ChrootDirectory /home/august - ForceCommand internal-sftp ''; sops.secrets."users/august/publicKey" = { path = "/etc/ssh/authorized_keys.d/august"; mode = "444"; }; - fileSystems."/home/august/Videos" = { - device = "/mnt/WD/Videos/Movies/"; - options = [ - "nofail" - "bind" - "x-systemd.automount" - ]; - neededForBoot = false; + fileSystems = { + "/home/august/Videos" = { + device = "/mnt/WD/Videos/"; + options = [ + "nofail" + "bind" + "x-systemd.automount" + ]; + neededForBoot = false; + }; + "/home/august/Backups" = { + device = "/mnt/WD/august/Backups"; + options = [ + "nofail" + "bind" + "x-systemd.automount" + ]; + neededForBoot = false; + }; }; }