guix: Init module

This commit is contained in:
Erwin Boskma 2024-06-03 12:20:05 +02:00
parent 1b17429c02
commit c0ed5156dc
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

16
modules/guix/default.nix Normal file
View file

@ -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;
};
};
}