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}";
hostname = "${hostname}";
sshOpts = [ "-A" ];
profiles = {
system = {
path = inputs.deploy-rs.lib.${platform}.activate.nixos self.nixosConfigurations.${hostname};
sshUser = "root";
user = "root";
sshUser = "${username}";
};
home-manager = {
path = inputs.deploy-rs.lib.${platform}.activate.home-manager self.homeConfigurations."${username}@${hostname}";
user = "${username}";
sshUser = "${username}";
};
};

View file

@ -26,6 +26,10 @@
./hosts/${hostname}
] ++ 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
environment.systemPackages = with pkgs; [
sbctl # Secureboot Control

View file

@ -14,6 +14,10 @@
./hosts/${hostname}
] ++ 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
environment.systemPackages = with pkgs; [
sbctl

View file

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