Home: Update HM module template + apply changes to modules
This commit is contained in:
@ -4,14 +4,12 @@
|
||||
mylib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with mylib.modules; let
|
||||
cfg = config.modules.ags;
|
||||
}: let
|
||||
inherit (config.modules) ags;
|
||||
in {
|
||||
options.modules.ags = import ./options.nix {inherit lib mylib;};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
config = lib.mkIf ags.enable {
|
||||
programs.ags = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
|
Reference in New Issue
Block a user