From c34577a7df2eb1545fb20613b2e9f49ed43b1db2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Yule=20B=C3=A4dorf?= Date: Thu, 8 Feb 2024 23:28:41 +0100 Subject: [PATCH] droppie/impermanence: use module --- hosts/default.nix | 1 + hosts/stroopwafel/default.nix | 1 - hosts/stroopwafel/persistence.nix | 6 ------ 3 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 hosts/stroopwafel/persistence.nix diff --git a/hosts/default.nix b/hosts/default.nix index 8d094a7..e2b2e44 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -64,6 +64,7 @@ droppie = self.nixos-flake.lib.mkLinuxSystem { nixpkgs.hostPlatform = "x86_64-linux"; imports = [ + inputs.impermanence.nixosModules.impermanence self.nixosModules.base ./droppie self.nixosModules.yule diff --git a/hosts/stroopwafel/default.nix b/hosts/stroopwafel/default.nix index 39b34db..8fa27a6 100644 --- a/hosts/stroopwafel/default.nix +++ b/hosts/stroopwafel/default.nix @@ -4,6 +4,5 @@ ./hardware-configuration.nix ./networking.nix - ./persistence.nix ]; } diff --git a/hosts/stroopwafel/persistence.nix b/hosts/stroopwafel/persistence.nix deleted file mode 100644 index 46e49a4..0000000 --- a/hosts/stroopwafel/persistence.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ lib, config, ... }: -{ - systemd.tmpfiles.rules = [ - "L /etc/nixos - - - - /home/${config.pub-solar.user.name}/Workspace/os" - ]; -}