This commit is contained in:
@@ -70,13 +70,30 @@ in
|
||||
];
|
||||
};
|
||||
};
|
||||
image.modules.linode = { };
|
||||
environment.systemPackages = [ ];
|
||||
security.sudo-rs.extraRules = [
|
||||
{
|
||||
users = [ "nixremote" ];
|
||||
commands = [
|
||||
{
|
||||
options = [ "NOPASSWD" ];
|
||||
command = "/run/current-system/sw/bin/nixos-rebuild";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/www/html 2775 deploy www-data -"
|
||||
"d /var/www/html/portfolio 2775 deploy www-data -"
|
||||
"d /var/www/html/blog 2775 deploy www-data -"
|
||||
"d /var/www/html/lidarr-mb-gap 2775 lidarr-reports lidarr-reports -"
|
||||
];
|
||||
sops.age = {
|
||||
generateKey = true;
|
||||
keyFile = "/var/lib/sops-nix/key.txt";
|
||||
sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
};
|
||||
image.modules.linode = { };
|
||||
environment.systemPackages = [ ];
|
||||
networking = {
|
||||
hostName = "vps";
|
||||
nat = {
|
||||
@@ -137,23 +154,6 @@ in
|
||||
'';
|
||||
};
|
||||
};
|
||||
security.sudo-rs.extraRules = [
|
||||
{
|
||||
users = [ "nixremote" ];
|
||||
commands = [
|
||||
{
|
||||
command = "/run/current-system/sw/bin/nixos-rebuild";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/www/html 2775 deploy www-data -"
|
||||
"d /var/www/html/portfolio 2775 deploy www-data -"
|
||||
"d /var/www/html/blog 2775 deploy www-data -"
|
||||
"d /var/www/html/lidarr-mb-gap 2775 lidarr-reports lidarr-reports -"
|
||||
];
|
||||
services = {
|
||||
smartd.enable = lib.mkForce false;
|
||||
openssh.ports = [ ports.ssh ];
|
||||
|
||||
Reference in New Issue
Block a user