File tree 3 files changed +20
-1
lines changed
3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ module-functions ,
3
+ hm ,
4
+ pkgs ,
5
+ ...
6
+ } :
7
+ module-functions . module "programs" "alejandra" {
8
+ hm . home . packages = with pkgs ; [ alejandra ] ;
9
+ }
Original file line number Diff line number Diff line change 2
2
module-functions ,
3
3
hm ,
4
4
vscode-extensions ,
5
+ config ,
6
+ lib ,
5
7
...
6
8
} :
7
9
module-functions . module "programs" "codium" {
@@ -13,7 +15,7 @@ module-functions.module "programs" "codium" {
13
15
wakatime . vscode-wakatime # WakaTime
14
16
leonardssh . vscord # Discord RPC
15
17
16
- kamadorueda . alejandra # Nix Formatter
18
+ ( lib . mkIf config . yunfachi . programs . alejandra . enable kamadorueda . alejandra ) # Nix Formatter
17
19
jnoortheen . nix-ide # Nix Syntax Highlight and more
18
20
19
21
github . vscode-github-actions # Github Actions
Original file line number Diff line number Diff line change
1
+ {
2
+ option-functions ,
3
+ ...
4
+ } :
5
+ with option-functions ;
6
+ option "programs" "alejandra" {
7
+ enable = enableOption "alejandra" true ;
8
+ }
You can’t perform that action at this time.
0 commit comments