Further refactoring

This commit is contained in:
Bryan Ramos 2023-06-04 14:44:58 -04:00
parent e2ca654681
commit 91a7234605
8 changed files with 290 additions and 178 deletions

10
modules/template.nix Normal file
View file

@ -0,0 +1,10 @@
{ pkgs, lib, config, ... }:
with lib;
let cfg = config.modules.PROGRAM;
in {
options.modules.PROGRAM = { enable = mkEnableOption "PROGRAM"; };
config = mkIf cfg.enable {
};
}