aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2024-08-04 22:24:39 +0900
committersefidel <contact@sefidel.net>2024-08-06 16:01:39 +0900
commit2e3f69dfceecbc8c392b6c3e5076cd3aee56b069 (patch)
treefef94fa94127c98762358449de97fde805c2d9d3 /modules
parent336c701e81ad9c2ef321b933f9406b739ffe5aac (diff)
downloadnixrc-2e3f69dfceecbc8c392b6c3e5076cd3aee56b069.zip
feat(modules/atticd)!: import atticd inside module
Diffstat (limited to 'modules')
-rw-r--r--modules/services/atticd.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/services/atticd.nix b/modules/services/atticd.nix
index ef79871..e2a7f55 100644
--- a/modules/services/atticd.nix
+++ b/modules/services/atticd.nix
@@ -1,10 +1,14 @@
-{ config, lib, pkgs, ... }:
+{ config, inputs, lib, pkgs, ... }:
with lib;
let
cfg = config.modules.services.atticd;
in
{
+ imports = [
+ inputs.attic.nixosModules.atticd
+ ];
+
options.modules.services.atticd = {
enable = mkEnableOption "Whether to enable atticd, a Multi-tenant Nix Binary Cache";