about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--hosts/common/system/ssh.nix1
-rw-r--r--users/fcuny/cli/backups.nix7
2 files changed, 8 insertions, 0 deletions
diff --git a/hosts/common/system/ssh.nix b/hosts/common/system/ssh.nix
index 0ecca80..cb7c47d 100644
--- a/hosts/common/system/ssh.nix
+++ b/hosts/common/system/ssh.nix
@@ -2,4 +2,5 @@
   # Enable the OpenSSH daemon.
   services.openssh.enable = true;
   services.openssh.permitRootLogin = "yes";
+  services.openssh.passwordAuthentication = false;
 }
diff --git a/users/fcuny/cli/backups.nix b/users/fcuny/cli/backups.nix
new file mode 100644
index 0000000..2c5c05b
--- /dev/null
+++ b/users/fcuny/cli/backups.nix
@@ -0,0 +1,7 @@
+{ pkgs, ... }:
+
+{
+  home.packages = with pkgs; [
+    restic
+  ];
+}