From ab2113ac35a51e313bea4411ce5cc216e01eb0a5 Mon Sep 17 00:00:00 2001 From: yaroslav Date: Thu, 24 Jul 2025 16:07:11 +0300 Subject: [PATCH] fixed aphelion --- hosts/Aphelion/hardware-Aphelion.nix | 3 +++ hosts/generic/home-persistence.nix | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/Aphelion/hardware-Aphelion.nix b/hosts/Aphelion/hardware-Aphelion.nix index 2234562..367d270 100644 --- a/hosts/Aphelion/hardware-Aphelion.nix +++ b/hosts/Aphelion/hardware-Aphelion.nix @@ -12,6 +12,7 @@ boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; + boot.supportedFilesystems = [ "zfs" ]; fileSystems."/" = { device = "none"; @@ -48,4 +49,6 @@ hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; system.stateVersion = "25.11"; networking.hostName = "Aphelion"; + networking.hostId = "b7fa9c25"; + } diff --git a/hosts/generic/home-persistence.nix b/hosts/generic/home-persistence.nix index 6b3c513..1ff46df 100644 --- a/hosts/generic/home-persistence.nix +++ b/hosts/generic/home-persistence.nix @@ -1,7 +1,7 @@ { ... }: { - environment.persistence."/nix/persist/home" = { + environment.persistence."/nix/persist" = { hideMounts = true; users.yaroslav = { directories = [