mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-09-24 15:19:43 -05:00
hosts/all: use key to sudo, making deploys easy while not requiring passwordless sudo
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
../common/global
|
||||
../common/optional/ckb-next.nix
|
||||
../common/optional/misterio-greetd.nix
|
||||
../common/optional/passwordless-sudo.nix
|
||||
../common/optional/pipewire.nix
|
||||
../common/optional/podman.nix
|
||||
../common/optional/postgres.nix
|
||||
|
||||
@@ -25,4 +25,7 @@ in
|
||||
type = "ed25519";
|
||||
}
|
||||
];
|
||||
|
||||
# Passwordless sudo when SSH'ing with keys
|
||||
security.pam.enableSSHAgentAuth = true;
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
security.sudo.extraConfig = "%wheel ALL = (ALL) NOPASSWD: ALL";
|
||||
}
|
||||
@@ -6,7 +6,6 @@
|
||||
./hardware-configuration.nix
|
||||
../common/global
|
||||
../common/optional/acme.nix
|
||||
../common/optional/passwordless-sudo.nix
|
||||
../common/optional/podman.nix
|
||||
../common/optional/postgres.nix
|
||||
../common/optional/tailscale.nix
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
../common/global
|
||||
../common/optional/misterio-greetd.nix
|
||||
../common/optional/networkmanager.nix
|
||||
../common/optional/passwordless-sudo.nix
|
||||
../common/optional/pipewire.nix
|
||||
../common/optional/podman.nix
|
||||
../common/optional/postgres.nix
|
||||
|
||||
Reference in New Issue
Block a user