mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 16:39:07 +01:00
comin: Init module
This commit is contained in:
parent
fe94d7f146
commit
3aa54b226f
3 changed files with 65 additions and 1 deletions
21
modules/system/services/comin.nix
Normal file
21
modules/system/services/comin.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [ inputs.comin.nixosModules.comin ];
|
||||
|
||||
options.custom.services.comin.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.custom.services.comin.enable {
|
||||
services.comin = {
|
||||
enable = true;
|
||||
remotes = lib.singleton {
|
||||
name = "origin";
|
||||
url = "https://github.com/SebastianStork/nixos-config.git";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue