Skip to content

Commit

Permalink
docs/src/ru/modules/structure: improve pseudocode
Browse files Browse the repository at this point in the history
  • Loading branch information
yunfachi committed Sep 29, 2024
1 parent bb5160d commit 3fb7d29
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/src/ru/modules/structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ delib.module {
myconfig.ifDisabled = {name, cfg, myconfig, ...}: {};
myconfig.always = {name, cfg, myconfig, ...}: {};
# if isHomeManager
# then {}
# else {config = ...;}
# если isHomeManager
# то {}
# иначе {config = ...;}
nixos.ifEnabled = {name, cfg, myconfig, ...}: {};
nixos.ifDisabled = {name, cfg, myconfig, ...}: {};
nixos.always = {name, cfg, myconfig, ...}: {};
# if isHomeManager
# then {config = ...;}
# else {config.home-manager.users.${homeManagerUser} = ...;}
# если isHomeManager
# то {config = ...;}
# иначе {config.home-manager.users.${homeManagerUser} = ...;}
home.ifEnabled = {name, cfg, myconfig, ...}: {};
home.ifDisabled = {name, cfg, myconfig, ...}: {};
home.always = {name, cfg, myconfig, ...}: {};
Expand Down

0 comments on commit 3fb7d29

Please sign in to comment.