From 20b22409a233b1e5566c9eb169b934ad0e3199f3 Mon Sep 17 00:00:00 2001 From: tzlil Date: Thu, 3 Aug 2023 21:37:04 +0300 Subject: switch to networkd, add createHome for tzlil, make /nix/persist a seperate subvol --- hosts/navi/hardware-configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'hosts/navi/hardware-configuration.nix') diff --git a/hosts/navi/hardware-configuration.nix b/hosts/navi/hardware-configuration.nix index f556950..64b8644 100644 --- a/hosts/navi/hardware-configuration.nix +++ b/hosts/navi/hardware-configuration.nix @@ -26,6 +26,7 @@ in { hardware.bluetooth.enable = true; + fileSystems."/nix/persist".neededForBoot = true; disko.devices = { disk.${baseNameOf device} = { inherit device; @@ -55,9 +56,12 @@ in { mountOptions = ["compress=zstd" "noatime"]; mountpoint = "/nix"; }; + "/nix/persist" = { + mountOptions = ["compress=zstd" "noatime"]; + mountpoint = "/nix/persist"; + }; }; }; - }; }; }; }; -- cgit 1.4.1