Rupert: Adapt for 24.05

This commit is contained in:
fruchti 2024-06-02 11:06:30 +02:00
parent ef69748075
commit 76cabab60a
2 changed files with 11 additions and 7 deletions

View file

@ -4,12 +4,14 @@
enable = true; enable = true;
windowManager.bspwm.enable = true; windowManager.bspwm.enable = true;
displayManager = { displayManager = {
defaultSession = "none+bspwm";
lightdm.enable = true; lightdm.enable = true;
};
};
services.displayManager = {
defaultSession = "none+bspwm";
autoLogin.enable = true; autoLogin.enable = true;
autoLogin.user = "waldi"; autoLogin.user = "waldi";
}; };
};
services.unclutter-xfixes = { services.unclutter-xfixes = {
enable = true; enable = true;

View file

@ -9,14 +9,16 @@ in
package = pkgs.nextcloud28; package = pkgs.nextcloud28;
hostName = hostName; hostName = hostName;
datadir = "/data/nextcloud"; datadir = "/data/nextcloud";
settings = {
trusted_domains = [
((lib.toLower config.networking.hostName) + ".lan")
(lib.toLower config.networking.hostName)
];
};
config = { config = {
dbtype = "pgsql"; dbtype = "pgsql";
dbhost = "/run/postgresql"; dbhost = "/run/postgresql";
adminpassFile = "/secrets/nextcloud_admin_password.txt"; adminpassFile = "/secrets/nextcloud_admin_password.txt";
extraTrustedDomains = [
((lib.toLower config.networking.hostName) + ".lan")
(lib.toLower config.networking.hostName)
];
}; };
caching.redis = true; caching.redis = true;
}; };