diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix index 0ce7efb8..2aa1703d 100644 --- a/flake.nix +++ b/flake.nix @@ -128,22 +128,33 @@ deploy = { remoteBuild = true; - interactiveSudo = true; nodes.linde = { hostname = "linde"; profiles.system = { user = "root"; + interactiveSudo = true; path = deploy-rs.lib.${utils.lib.system.aarch64-linux}.activate.nixos self.nixosConfigurations.linde; }; + profiles.alan = { + user = "alan"; + path = deploy-rs.lib.${utils.lib.system.aarch64-linux}.activate.home-manager + self.homeConfigurations."alan@linde"; + }; }; nodes.nanopi = { hostname = "nanopi"; profiles.system = { user = "root"; + interactiveSudo = true; path = deploy-rs.lib.${utils.lib.system.aarch64-linux}.activate.nixos self.nixosConfigurations.nanopi; }; + profiles.alan = { + user = "alan"; + path = deploy-rs.lib.${utils.lib.system.aarch64-linux}.activate.home-manager + self.homeConfigurations."alan@nanopi"; + }; }; }; } // utils.lib.eachDefaultSystem (system: |