From 3bc9128dfc0c7b7e5d14239b875eef41eb634670 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 14 Jun 2022 13:02:59 +0000 Subject: refactor(3p): fetch impermanence via niv Change-Id: Ic6bc463304643a7f983a5f7c182f95a7706ca35b Reviewed-on: https://cl.tvl.fyi/c/depot/+/5868 Reviewed-by: tazjin Reviewed-by: sterni Autosubmit: tazjin Tested-by: BuildkiteCI --- users/tazjin/home/shared.nix | 2 +- users/tazjin/nixos/modules/persistence.nix | 2 +- users/tazjin/nixos/zamalek/default.nix | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'users/tazjin') diff --git a/users/tazjin/home/shared.nix b/users/tazjin/home/shared.nix index 03c7ee10b796..2fd17cdc0b5f 100644 --- a/users/tazjin/home/shared.nix +++ b/users/tazjin/home/shared.nix @@ -4,7 +4,7 @@ { config, lib, ... }: # home-manager { - imports = [ "${depot.third_party.impermanence}/home-manager.nix" ]; + imports = [ (depot.third_party.sources.impermanence + "/home-manager.nix") ]; home.persistence."/persist/tazjin/home" = { allowOther = true; diff --git a/users/tazjin/nixos/modules/persistence.nix b/users/tazjin/nixos/modules/persistence.nix index c81958161fbf..5ed3683740b2 100644 --- a/users/tazjin/nixos/modules/persistence.nix +++ b/users/tazjin/nixos/modules/persistence.nix @@ -3,7 +3,7 @@ { imports = [ - "${depot.third_party.impermanence}/nixos.nix" + (depot.third_party.sources.impermanence + "/nixos.nix") ]; environment.persistence."/persist" = { diff --git a/users/tazjin/nixos/zamalek/default.nix b/users/tazjin/nixos/zamalek/default.nix index e29623e8157b..f832b0cdeca3 100644 --- a/users/tazjin/nixos/zamalek/default.nix +++ b/users/tazjin/nixos/zamalek/default.nix @@ -22,7 +22,6 @@ in (usermod "physical.nix") (usermod "zerotier.nix") - (depot.third_party.impermanence + "/nixos.nix") (pkgs.home-manager.src + "/nixos") ] ++ lib.optional (builtins.pathExists ./local-config.nix) ./local-config.nix; -- cgit 1.4.1