even more fixes

This commit is contained in:
chloe 2025-05-10 10:27:04 +02:00
parent dc18cc850f
commit 33fd7ada93
2 changed files with 29 additions and 15 deletions

View file

@ -47,6 +47,13 @@ in
initialHashedPassword = "$y$j9T$H0D6NpMw1EU.oDhbMWrwL.$wDGGBKKGQdzeDRTzq0gWhoLdyUpQ2w6PMmGl.nuQ11/";
};
users.users.deploy = {
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP9Yp7TbDhYJ27Sh+LcPXT569bMVwbFrkE4zksfU84l+ harry123@goober"
];
};
users.users.root.initialHashedPassword = "$y$j9T$99/NEnBGoewbrl5eHvTw7/$87rjPrvqs0Ys72338SxZJDibi8p7Fe8Can37rJyhcQ.";
environment.systemPackages = with pkgs; [

View file

@ -17,17 +17,21 @@
systemd = {
enable = true;
};
sabnzbd = {
enable = true;
# TODO: enable prometheus services based on whether they are enabled or not
/*
sabnzbd = {
enable = true;
servers = [
{
"sisyphe" = {
baseUrl = "http://nzb.sisyphe.normandy.rougebordeaux.xyz";
apiKeyFile = "/run/secrets/sabnbzd_apikey";
}
];
};
servers = [
{
"sisyphe" = {
baseUrl = "http://nzb.sisyphe.normandy.rougebordeaux.xyz";
apiKeyFile = "/run/secrets/sabnbzd_apikey";
};
}
];
};
*/
redis = {
enable = true;
};
@ -41,11 +45,14 @@
php-fpm = {
enable = true;
};
nextcloud = {
enable = true;
url = "https://cloud.rougebordeaux.xyz";
tokenFile = "/run/secrets/nextcloudTokenFile";
};
/*
TODO: need to fix secrets before
nextcloud = {
enable = true;
url = "https://cloud.rougebordeaux.xyz";
tokenFile = "/run/secrets/nextcloudTokenFile";
};
*/
};
scrapeConfigs = [