Disabling interactive sudo
This commit is contained in:
parent
8aca74fc84
commit
0812b82c46
3 changed files with 12 additions and 4 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
user = "qbittorrent";
|
||||
group = "media";
|
||||
|
||||
webuiPort = 44303;
|
||||
webuiPort = 44304;
|
||||
|
||||
serverConfig = {
|
||||
LegalNotice.Accepted = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue