config: update comments and module descriptions

This commit is contained in:
Gabriel Arazas 2022-11-30 08:40:49 +08:00
parent d8b28ce617
commit 9a07eedb14
3 changed files with 12 additions and 5 deletions

View File

@ -434,11 +434,17 @@
formatter =
forAllSystems (system: nixpkgs.legacyPackages.${system}.treefmt);
# nixops-lite... in here!?! We got it all, son!
# nixops-lite (that is much more powerful than nixops itself)... in
# here!?! We got it all, son!
#
# Take note for automatically imported nodes, various options should be
# overridden in the deploy utility considering that most have only
# certain values and likely not work if run with the intended value.
#
# Also, don't forget to always clean your shell history when overriding
# sensitive info such as the hostname and such. A helpful tip would be
# ignoring the shell entry by simply prefixing it with a space which most
# command-line shells have support for (e.g., Bash, zsh, fish).
deploy.nodes = let
importNodes = prefix: systems:
lib'.mapAttrs'

View File

@ -221,7 +221,8 @@ in
WEB_VAULT_ENABLED = true;
WEB_VAULT_FOLDER = "${pkgs.vaultwarden-vault}/share/vaultwarden/vault";
# Configuring the database.
# Configuring the database. Take note it is required to create a password
# for the user.
DATABASE_URL = "postgresql://${vaultwardenUser}:thisismadnessbutsomeonewilljustseethisanyways32342whaaaaaatthebloooooodyhell49@localhost/${vaultwardenDbName}";
};
};

View File

@ -7,13 +7,13 @@ let cfg = config.profiles.desktop;
in {
options.profiles.desktop = {
enable =
lib.mkEnableOption "all desktop-related services and default programs";
lib.mkEnableOption "basic desktop-related services and default programs";
audio.enable =
lib.mkEnableOption "all desktop audio-related services such as Pipewire";
lib.mkEnableOption "desktop audio-related configurations";
fonts.enable = lib.mkEnableOption "font-related configuration";
hardware.enable =
lib.mkEnableOption "the common hardware-related configuration";
cleanup.enable = lib.mkEnableOption "activation of cleanup services";
cleanup.enable = lib.mkEnableOption "activation of various cleanup services";
autoUpgrade.enable = lib.mkEnableOption "auto-upgrade service with this system";
wine = {
enable = lib.mkEnableOption "Wine and Wine-related tools";