Do not set any options by default in nixosModules.c3d2
#16
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
nixosModules.c3d2
is setting options by default, and I would prefer to be able to import the module without any side effects if none of the options it defines are set.Also, the
isInHq
stuff could be moved to module thats sets configuration but not options.https://gitea.c3d2.de/c3d2/nix-config/src/branch/master/lib/default.nix#L269
https://gitea.c3d2.de/c3d2/nix-config/src/branch/master/lib/default.nix#L274
https://gitea.c3d2.de/c3d2/nix-config/src/branch/master/lib/default.nix#L291
This option is incorrectly implemented and systemd constantly spams the journal with
Failed to set timeout to 15s: Invalid argument
.https://gitea.c3d2.de/c3d2/nix-config/src/branch/master/lib/default.nix#L334
https://gitea.c3d2.de/c3d2/nix-config/src/branch/master/lib/default.nix#L339
The purpose of the module is to enable default options and things just by importing it which we want to have on everything in the hq. For example we want some default packages everywhere and also enable openssh everywhere with the keys for everyone. If there is anything specific you want to re-use we can extract that.
The logging should be disabled until it is fixed but since I cannot deploy right now there is no point when I change it.
https://gitea.c3d2.de/c3d2/nix-config/compare/master...split
I split the two concerns at
f066f4cb82
.