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
|
|
@ -1,5 +1,6 @@
|
|||
inputs: self: super:
|
||||
let
|
||||
system = import ./system.nix inputs self super;
|
||||
option = import ./option.nix inputs self super;
|
||||
in
|
||||
system
|
||||
system // option
|
||||
|
|
|
|||
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