diff --git a/flake.nix b/flake.nix index 97887e4..958f4ff 100644 --- a/flake.nix +++ b/flake.nix @@ -67,7 +67,7 @@ }; deploy = { - interactiveSudo = true; + # interactiveSudo = true; autoRollback = true; magicRollback = true; @@ -79,8 +79,8 @@ profiles = { system = { - sshUser = "lyes"; - user = "root"; + sshUser = "root"; + # user = "root"; remoteBuild = true; path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.zora; }; diff --git a/hosts/zora/users.nix b/hosts/zora/users.nix index 6ca80a8..b6d6b05 100644 --- a/hosts/zora/users.nix +++ b/hosts/zora/users.nix @@ -11,4 +11,12 @@ }; users.groups.deploy = {}; + + users.users.lyes.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMHJ2Wjz+SYDfgX8kMpZtVLCNxwWT2XbKOqFyDwkHOg9 mail@lyes.eu" + ]; + + users.users.root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMHJ2Wjz+SYDfgX8kMpZtVLCNxwWT2XbKOqFyDwkHOg9 mail@lyes.eu" + ]; } diff --git a/modules/server/tetra/default.nix b/modules/server/tetra/default.nix index 0021264..0a74da5 100644 --- a/modules/server/tetra/default.nix +++ b/modules/server/tetra/default.nix @@ -6,7 +6,7 @@ user = "qbittorrent"; group = "media"; - webuiPort = 44303; + webuiPort = 44304; serverConfig = { LegalNotice.Accepted = true;