From 7a6d193181533d696612f128b01fbb353cd1f154 Mon Sep 17 00:00:00 2001 From: notohh Date: Wed, 26 Apr 2023 19:42:28 -0400 Subject: [PATCH] feat: add sutakku to deployment --- flake.nix | 8 ++++++-- hosts/deploy.nix | 10 +++++++++- hosts/sutakku/default.nix | 1 - 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index a3f5c3f..b5fb454 100755 --- a/flake.nix +++ b/flake.nix @@ -12,8 +12,12 @@ url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; - deploy-rs.url = "github:serokell/deploy-rs"; - sops-nix.url = "github:Mic92/sops-nix"; + deploy-rs = { + url = "github:serokell/deploy-rs"; + }; + sops-nix = { + url = "github:Mic92/sops-nix"; + }; }; outputs = { self, diff --git a/hosts/deploy.nix b/hosts/deploy.nix index 4fab360..eac3579 100644 --- a/hosts/deploy.nix +++ b/hosts/deploy.nix @@ -6,7 +6,15 @@ inputs: { user = "root"; path = activate.nixos inputs.self.nixosConfigurations.hime; }; - sshUser = "root"; + sshUser = "oh"; + }; + sutakku = { + hostname = "sutakku"; + profiles.system = { + user = "root"; + path = activate.nixos inputs.self.nixosConfigurations.sutakku; + }; + sshUser = "oh"; }; }; } diff --git a/hosts/sutakku/default.nix b/hosts/sutakku/default.nix index d56b475..08f4377 100644 --- a/hosts/sutakku/default.nix +++ b/hosts/sutakku/default.nix @@ -47,5 +47,4 @@ enableSSHSupport = true; pinentryFlavor = "curses"; }; - }