summaryrefslogtreecommitdiff
path: root/modules/backup/default.nix
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-02-16 21:04:52 +0100
committerJasper Ras <jras@hostnet.nl>2025-02-16 21:04:52 +0100
commitfad1f2c812eba1a166bd3a28b23f8df7ddcf3218 (patch)
treec3ab084849839acd1e8c118b658fc77a96120787 /modules/backup/default.nix
parentb01725eb25f21d55d58862ae38733b0ada99b673 (diff)
mumbujumbo
Diffstat (limited to 'modules/backup/default.nix')
-rw-r--r--modules/backup/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/modules/backup/default.nix b/modules/backup/default.nix
new file mode 100644
index 0000000..df34549
--- /dev/null
+++ b/modules/backup/default.nix
@@ -0,0 +1,33 @@
+{ lib, ... }:
+{
+ imports = [
+ ./disk-config.nix
+ ../core
+ ];
+
+ # MEH
+ networking.hostId = "78bc192c";
+
+ system.stateVersion = "24.11";
+ home-manager.users.jras = { home.stateVersion = "24.11"; };
+
+ boot.loader.systemd-boot.enable = true;
+ boot.loader.efi.canTouchEfiVariables = true;
+
+ time.timeZone = "Europe/Amsterdam";
+
+ services.openssh = {
+ openFirewall = lib.mkForce true;
+ hostKeys = [
+ {
+ path = "/persist/etc/ssh/ssh_host_ed25519_key";
+ type = "ed25519";
+ }
+ {
+ path = "/persist/etc/ssh/ssh_host_rsa_key";
+ type = "rsa";
+ bits = 4096;
+ }
+ ];
+ };
+}