Disabling interactive sudo

This commit is contained in:
Lyes Saadi 2026-01-12 23:55:46 +01:00
parent 8aca74fc84
commit 0812b82c46
Signed by: lyes
GPG key ID: 55A1D803917CF39A
3 changed files with 12 additions and 4 deletions

View file

@ -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;
};

View file

@ -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"
];
}

View file

@ -6,7 +6,7 @@
user = "qbittorrent";
group = "media";
webuiPort = 44303;
webuiPort = 44304;
serverConfig = {
LegalNotice.Accepted = true;