From c0ed5156dc89cf13151b75ccbdde77521a2605d5 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Mon, 3 Jun 2024 12:20:05 +0200 Subject: [PATCH] guix: Init module --- modules/guix/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 modules/guix/default.nix diff --git a/modules/guix/default.nix b/modules/guix/default.nix new file mode 100644 index 0000000..3d0d8ce --- /dev/null +++ b/modules/guix/default.nix @@ -0,0 +1,16 @@ +{ config, lib, ... }: +with lib; +let + cfg = config.eboskma.guix; +in +{ + options.eboskma.guix = { + enable = mkEnableOption "guix"; + }; + + config = mkIf cfg.enable { + services.guix = { + enable = true; + }; + }; +}