fix: smod snippet

This commit is contained in:
punkfairie 2025-03-08 17:29:34 -08:00
parent 46b2b2d7c4
commit db0ee73a05
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6

View file

@ -115,12 +115,11 @@ return {
config,<>
...
}:
let<>
let
cfg = config.marleyos.<>.<>;
in
{
options.marleyos.<>.<>.enable = mkEnableOption "<>";
options.marleyos.<>.<>.enable = lib.mkEnableOption "<>";
config = lib.mkIf cfg.enable {
<>
@ -129,12 +128,11 @@ return {
]],
{
i(1), -- extra args
i(2, { '', ' inherit (lib.marleyos) enabled;' }),
i(3), -- group
i(4), -- mod
rep(3), -- group
rep(4), -- mod
rep(4), -- mod
i(2), -- group
i(3), -- mod
rep(2), -- group
rep(3), -- mod
rep(3), -- mod
i(0), -- end
}
)