mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:19:22 +08:00
Compare commits
1 Commits
xray-debug
...
ipfs
| Author | SHA1 | Date | |
|---|---|---|---|
| 57d55be52a |
@@ -136,6 +136,7 @@ inputs:
|
||||
gamemode = { enable = true; drmDevice = 0; };
|
||||
slurm = { enable = true; cpu = { cores = 16; threads = 2; }; memoryMB = 94208; gpus."4060" = 1; };
|
||||
xrdp = { enable = true; hostname = [ "pc.chn.moe" ]; };
|
||||
kubo.enable = true;
|
||||
};
|
||||
bugs = [ "xmunet" "backlight" "amdpstate" ];
|
||||
};
|
||||
|
||||
@@ -43,6 +43,7 @@ inputs:
|
||||
./gamemode.nix
|
||||
./vikunja.nix
|
||||
./slurm.nix
|
||||
./kubo.nix
|
||||
];
|
||||
options.nixos.services = let inherit (inputs.lib) mkOption types; in
|
||||
{
|
||||
|
||||
11
modules/services/kubo.nix
Normal file
11
modules/services/kubo.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
inputs:
|
||||
{
|
||||
options.nixos.services.kubo = let inherit (inputs.lib) mkOption types; in
|
||||
{
|
||||
enable = mkOption { type = types.bool; default = false; };
|
||||
};
|
||||
config = let inherit (inputs.config.nixos.services) kubo; in inputs.lib.mkIf kubo.enable
|
||||
{
|
||||
services.kubo.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user