diff options
author | Guillaume Maudoux <layus.on@gmail.com> | 2017-10-07 17:38:14 +0200 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-10-07 16:38:14 +0100 |
commit | 15b7e102b673ddef5068af14f0b2272f32f20880 (patch) | |
tree | 8631635a2531bb572ae90ee691ead18780c0167f | |
parent | 04ce72e40e91e285ab38eb65cacaf1d826fa9a20 (diff) | |
download | nixlib-15b7e102b673ddef5068af14f0b2272f32f20880.tar nixlib-15b7e102b673ddef5068af14f0b2272f32f20880.tar.gz nixlib-15b7e102b673ddef5068af14f0b2272f32f20880.tar.bz2 nixlib-15b7e102b673ddef5068af14f0b2272f32f20880.tar.lz nixlib-15b7e102b673ddef5068af14f0b2272f32f20880.tar.xz nixlib-15b7e102b673ddef5068af14f0b2272f32f20880.tar.zst nixlib-15b7e102b673ddef5068af14f0b2272f32f20880.zip |
Safer defaults for immutable znc config (#30155)
* Safer defaults for immutable znc config I just lost all the options I configured in ZNC, because the mutable config was overwritten. I accept any suggestions on the way to implement this, but overwriting a mutable config by default seems weird. If we want to do this, we should ensure that ZNC does not allow to edit the config via the webmin when cfg.mutable is false. * Do not backup old config files. There seems to be little need for backups if mutable becomes a voluntary opt-out. * fixup
-rw-r--r-- | nixos/modules/services/networking/znc.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/znc.nix b/nixos/modules/services/networking/znc.nix index 3d9cec46a582..72313ab2ee14 100644 --- a/nixos/modules/services/networking/znc.nix +++ b/nixos/modules/services/networking/znc.nix @@ -329,7 +329,7 @@ in }; mutable = mkOption { - default = false; + default = true; type = types.bool; description = '' Indicates whether to allow the contents of the `dataDir` directory to be changed |