mirror of
https://github.com/thegeneralist01/config.git
synced 2026-03-07 10:59:55 +01:00
server: add forgejo and postgresql
This commit is contained in:
parent
27d347d3c8
commit
6014ad7d7a
8 changed files with 158 additions and 3 deletions
12
lib/option.nix
Normal file
12
lib/option.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
_: _: super: let
|
||||
inherit (super) mkOption;
|
||||
in {
|
||||
mkConst = value: mkOption {
|
||||
default = value;
|
||||
readOnly = true;
|
||||
};
|
||||
|
||||
mkValue = default: mkOption {
|
||||
inherit default;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue