New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/supybot: switch to python3, enable systemd sandboxing, add option for installing plugins #79851
Conversation
f2e917a
to
a2e7c90
Compare
description = "The root directory, logs and plugins are stored here"; | ||
}; | ||
|
||
configFile = mkOption { | ||
type = types.path; | ||
description = '' | ||
Path to a supybot config file. This can be generated by | ||
Path to initial supybot config file. This can be generated by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this module coded in a way that the configuration file is initial only? 😞
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question! I think that most supybot operators generate initial configuration with supybot-wizard
and afterwards configure it by sending it commands over IRC. Even the user guide discourages editing the config file.
I was considering adding mutableConfig
option (true
by default to be backwards compatible) but figured not much people would use it. It's a simple change though, can add it if it makes sense.
Moving the stateDir is needed in order to use ProtectSystem=strict systemd option.
Python2 seems to be no longer supported by limnoria upstream.
a2e7c90
to
b7c3075
Compare
Fixed merge conflict & added |
@mmilata I finally took the time to (briefly) read some If a NixOS module didn't currently exist and I wanted to use this program I would likely write it to use Sorry for That being said... I have never ran |
b7c3075
to
1affd47
Compare
@aanderse thanks for looking at this. Nowadays I probably wouldn't choose Dropped the |
I keep seeing "I would love to use Would be nice if someone familiar with this module could review. |
Adds several enhancements to the
supybot
module:/var/lib
where it belongsMotivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)cc @cillianderoiste