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"; name = "ny";
isDefault = true; isDefault = true;
userChrome = '' userChrome = ''
/* hides the native tabs */ /* Hides the native tabs */
#TabsToolbar { #TabsToolbar {
visibility: collapse; visibility: collapse;
} }
/* Fixed width for the sidebar */
#sidebar-box {
max-width: 17.5% !important;
min-width: 17.5% !important;
}
''; '';
settings = { settings = {
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; "toolkit.legacyUserProfileCustomizations.stylesheets" = true;

View file

@ -141,7 +141,26 @@
openFirewall = true; openFirewall = true;
host = "0.0.0.0"; 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 = { # security.acme = {
#acceptTerms = true; #acceptTerms = true;