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 = {
|
deploy = {
|
||||||
interactiveSudo = true;
|
# interactiveSudo = true;
|
||||||
autoRollback = true;
|
autoRollback = true;
|
||||||
magicRollback = true;
|
magicRollback = true;
|
||||||
|
|
||||||
|
|
@ -79,8 +79,8 @@
|
||||||
|
|
||||||
profiles = {
|
profiles = {
|
||||||
system = {
|
system = {
|
||||||
sshUser = "lyes";
|
sshUser = "root";
|
||||||
user = "root";
|
# user = "root";
|
||||||
remoteBuild = true;
|
remoteBuild = true;
|
||||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.zora;
|
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.zora;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,12 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
users.groups.deploy = {};
|
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";
|
user = "qbittorrent";
|
||||||
group = "media";
|
group = "media";
|
||||||
|
|
||||||
webuiPort = 44303;
|
webuiPort = 44304;
|
||||||
|
|
||||||
serverConfig = {
|
serverConfig = {
|
||||||
LegalNotice.Accepted = true;
|
LegalNotice.Accepted = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue