diff --git a/flake.nix b/flake.nix index 1903d390..06b0d8f9 100644 --- a/flake.nix +++ b/flake.nix @@ -177,7 +177,6 @@ ds9 = nixosSystem "x86_64-linux" [ ./hosts/ds9/default.nix ]; daedalusvm = nixosSystem "aarch64-linux" [ ./hosts/daedalusvm/default.nix ]; octopi = nixosSystem "aarch64-linux" [ ./hosts/octopi/default.nix ]; - woolsey = nixosSystem "aarch64-linux" [ ./hosts/woolsey/default.nix ]; icarus = nixosSystem "x86_64-linux" [ ./hosts/icarus/default.nix ]; }; darwinConfigurations = processConfigurations { diff --git a/hosts/ds9/default.nix b/hosts/ds9/default.nix index 7092b292..c8e96771 100644 --- a/hosts/ds9/default.nix +++ b/hosts/ds9/default.nix @@ -31,7 +31,7 @@ in hassosvm = "spool/safe/vms/hassos"; }; in - builtins.mapAttrs (n: v: { target = "backup/${n}"; source = v; sendOptions = "w"; }) datasets; + builtins.mapAttrs (n: v: { target = "root@gatebridge:backup/${n}"; source = v; sendOptions = "w"; }) datasets; programs.mosh.enable = true; security.sudo.wheelNeedsPassword = false; diff --git a/hosts/woolsey/default.nix b/hosts/woolsey/default.nix deleted file mode 100644 index 1091986e..00000000 --- a/hosts/woolsey/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ config, inputs, pkgs, lib, ... }: -{ - imports = [ - "${inputs.nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix" - "${inputs.nixos-hardware}/raspberry-pi/2/default.nix" - ]; - nixpkgs.overlays = [ - (final: super: { - makeModulesClosure = x: - super.makeModulesClosure (x // { allowMissing = true; }); - }) - ]; - boot.loader.systemd-boot.enable = false; - boot.kernelPackages = pkgs.linuxPackages_rpi2; - boot.supportedFilesystems = lib.mkForce [ "reiserfs" "vfat" "zfs" "ext4" ]; - networking.hostId = "eec43f51"; - # networking.usePredictableInterfaceNames = false; - documentation.enable = false; - documentation.nixos.enable = false; - - nix = { - autoOptimiseStore = true; - gc = { - automatic = true; - dates = "weekly"; - options = "--delete-older-than 30d"; - }; - # Free up to 1GiB whenever there is less than 100MiB left. - extraOptions = '' - min-free = ${toString (100 * 1024 * 1024)} - max-free = ${toString (1024 * 1024 * 1024)} - ''; - }; - powerManagement.cpuFreqGovernor = "ondemand"; - - # Assuming this is installed on top of the disk image. - fileSystems = { - "/" = { - device = "/dev/disk/by-label/NIXOS_SD"; - fsType = "ext4"; - options = [ "noatime" ]; - }; - }; - ragon.services.ssh.enable = true; - ragon.services.tailscale.enable = true; - -} diff --git a/secrets/ds9OffsiteBackupSSH.age b/secrets/ds9OffsiteBackupSSH.age index cfad5646..ad4ede46 100644 Binary files a/secrets/ds9OffsiteBackupSSH.age and b/secrets/ds9OffsiteBackupSSH.age differ