Update
Some checks failed
ssh-test / ssh-test (push) Failing after 23s

This commit is contained in:
iFargle 2023-12-11 21:01:07 +09:00
parent e8a0317135
commit baae25f4e2
4 changed files with 16 additions and 1 deletions

View file

@ -7,14 +7,17 @@
}: { }: {
user = "${username}"; user = "${username}";
hostname = "${hostname}"; hostname = "${hostname}";
sshOpts = [ "-A" ];
profiles = { profiles = {
system = { system = {
path = inputs.deploy-rs.lib.${platform}.activate.nixos self.nixosConfigurations.${hostname}; path = inputs.deploy-rs.lib.${platform}.activate.nixos self.nixosConfigurations.${hostname};
sshUser = "root"; user = "root";
sshUser = "${username}";
}; };
home-manager = { home-manager = {
path = inputs.deploy-rs.lib.${platform}.activate.home-manager self.homeConfigurations."${username}@${hostname}"; path = inputs.deploy-rs.lib.${platform}.activate.home-manager self.homeConfigurations."${username}@${hostname}";
user = "${username}";
sshUser = "${username}"; sshUser = "${username}";
}; };
}; };

View file

@ -26,6 +26,10 @@
./hosts/${hostname} ./hosts/${hostname}
] ++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop}; ] ++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop};
# enable passwordless elevation
# Useful for deploy-rs
security.pam.enableSSHAgentAuth = true;
# List packages installed in system profile # List packages installed in system profile
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
sbctl # Secureboot Control sbctl # Secureboot Control

View file

@ -14,6 +14,10 @@
./hosts/${hostname} ./hosts/${hostname}
] ++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop}; ] ++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop};
# enable passwordless elevation
# Useful for deploy-rs
security.pam.enableSSHAgentAuth = true;
# List packages installed in system profile # List packages installed in system profile
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
sbctl sbctl

View file

@ -20,6 +20,10 @@
./hosts/${hostname} ./hosts/${hostname}
]; ];
# enable passwordless elevation
# Useful for deploy-rs
security.pam.enableSSHAgentAuth = true;
# List packages installed in system profile # List packages installed in system profile
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
git git