Compare commits

..

2 commits

Author SHA1 Message Date
c76755e211
feat(shan): host radicale 2024-11-17 18:50:24 +01:00
bb04ac2f4f
feat(firefox): lock sidebar width 2024-11-17 18:50:14 +01:00
2 changed files with 25 additions and 1 deletions

View file

@ -13,10 +13,15 @@ lib.mkIf osConfig.programs.firefox.enable {
name = "ny";
isDefault = true;
userChrome = ''
/* hides the native tabs */
/* Hides the native tabs */
#TabsToolbar {
visibility: collapse;
}
/* Fixed width for the sidebar */
#sidebar-box {
max-width: 17.5% !important;
min-width: 17.5% !important;
}
'';
settings = {
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;

View file

@ -141,7 +141,26 @@
openFirewall = true;
host = "0.0.0.0";
};
radicale = {
enable = true;
# Documentation at <https://radicale.org/v3.html#configuration>
settings = {
server = {
hosts = [ "0.0.0.0:5232" ];
};
auth = {
type = "htpasswd";
htpasswd_filename = "/etc/radicale/users";
htpasswd_encryption = "autodetect";
};
storage = {
filesystem_folder = "/var/lib/radicale/collections";
};
};
};
};
networking.firewall.allowedTCPPorts = [ 5232 ];
# security.acme = {
#acceptTerms = true;