From 1c614a8e6f09ce19cbc8f51a84404b9e76e575dc Mon Sep 17 00:00:00 2001 From: pagedmov Date: Mon, 18 Nov 2024 13:28:16 -0500 Subject: [PATCH] added impermanence to flake inputs and made a basic config in live-env --- flake.nix | 4 +++- hosts/live-env/config.nix | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 856bd75..ccdba6c 100755 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,7 @@ hyprpicker.url = "github:hyprwm/hyprpicker"; stylix.url = "github:danth/stylix"; disko.url = "github:nix-community/disko"; + impermanence.url = "github:nix-community/impermanence"; nixvim = { url = "github:nix-community/nixvim"; @@ -31,7 +32,7 @@ }; }; - outputs = { self, home-manager, disko, nixpkgs, nur, nixvim, stylix, ... }@inputs: + outputs = { self, home-manager, disko, nixpkgs, nur, impermanence, nixvim, stylix, ... }@inputs: let system = "x86_64-linux"; username = "pagedmov"; @@ -212,6 +213,7 @@ ./modules/sys disko.nixosModules.default nixvim.nixosModules.nixvim + impermanence.nixosModules.impermanence stylix.nixosModules.stylix nur.nixosModules.nur ]; diff --git a/hosts/live-env/config.nix b/hosts/live-env/config.nix index 459e71e..eff64b7 100755 --- a/hosts/live-env/config.nix +++ b/hosts/live-env/config.nix @@ -35,6 +35,14 @@ in umount /btrfs_tmp ''; + environment.persistence."/home" = { + enable = true; + hideMounts = true; + directories = [ + "persistence" + ]; + }; + movOpts = { sysEnv = { issue.enable = true;