-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
148 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
lib, | ||
mylib, | ||
config, | ||
... | ||
}: let | ||
inherit (lib) mkIf; | ||
inherit (mylib) mkBoolOpt; | ||
cfg = config.shelken.dev.misc; | ||
in { | ||
options.shelken.dev.misc = { | ||
enable = mkBoolOpt false "Whether or not to enable."; | ||
}; | ||
|
||
config = mkIf cfg.enable { | ||
homebrew = { | ||
casks = [ | ||
"he3" # 开发工具箱 | ||
]; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{mylib, ...}: { | ||
imports = | ||
mylib.scanPaths ./.; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
lib, | ||
mylib, | ||
config, | ||
... | ||
}: let | ||
inherit (lib) mkIf; | ||
inherit (mylib) mkBoolOpt; | ||
cfg = config.shelken.social.feishu; | ||
in { | ||
options.shelken.social.feishu = { | ||
enable = mkBoolOpt false "Whether or not to enable."; | ||
}; | ||
|
||
config = mkIf cfg.enable { | ||
homebrew = { | ||
casks = [ | ||
"feishu" # for work | ||
]; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
lib, | ||
mylib, | ||
config, | ||
... | ||
}: let | ||
inherit (lib) mkIf; | ||
inherit (mylib) mkBoolOpt; | ||
cfg = config.shelken.social.personal; | ||
in { | ||
options.shelken.social.personal = { | ||
enable = mkBoolOpt false "Whether or not to enable."; | ||
}; | ||
|
||
config = mkIf cfg.enable { | ||
homebrew = { | ||
casks = [ | ||
"telegram" | ||
# "discord" | ||
]; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
lib, | ||
mylib, | ||
config, | ||
... | ||
}: let | ||
inherit (lib) mkIf; | ||
inherit (mylib) mkBoolOpt; | ||
cfg = config.shelken.tools.image; | ||
in { | ||
options.shelken.tools.image = { | ||
enable = mkBoolOpt false "Whether or not to enable."; | ||
}; | ||
|
||
config = mkIf cfg.enable { | ||
homebrew = { | ||
casks = [ | ||
"imageoptim" # image compress | ||
]; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
lib, | ||
mylib, | ||
config, | ||
... | ||
}: let | ||
inherit (lib) mkIf; | ||
inherit (mylib) mkBoolOpt; | ||
cfg = config.shelken.tools.music; | ||
in { | ||
options.shelken.tools.music = { | ||
enable = mkBoolOpt false "Whether or not to enable."; | ||
}; | ||
|
||
config = mkIf cfg.enable { | ||
homebrew = { | ||
casks = [ | ||
"xld" # 处理cd音频文件,flac等无损音频转化 | ||
"musicbrainz-picard" # 音乐信息刮削 | ||
]; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
lib, | ||
mylib, | ||
config, | ||
... | ||
}: let | ||
inherit (lib) mkIf; | ||
inherit (mylib) mkBoolOpt; | ||
cfg = config.shelken.suites.work; | ||
in { | ||
options.shelken.suites.work = { | ||
enable = mkBoolOpt false "Whether or not to enable."; | ||
}; | ||
|
||
config = mkIf cfg.enable { | ||
shelken.social.feishu.enable = true; | ||
}; | ||
} |