blob: fb9fc243332e61a1de83d300b9e333fbc24e2fbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ options, config, lib, namespace, ... }:
with lib; with lib.${namespace}; let
cfg = config.${namespace}.suites.dev;
impermanence = config.${namespace}.impermanence;
desktop = config.${namespace}.desktop;
in {
options.${namespace}.suites.dev = with types; {
enable = mkEnableOption "dev";
};
config = mkIf cfg.enable {
home.persistence.${impermanence.location} = {
directories = [
"code"
];
};
cxl = {
apps = mkIf desktop.enable {
vscode.enable = true;
intellij.enable = true;
};
tools = {
cloc.enable = true;
tmux.enable = true;
mkenv.enable = true;
neovim.enable = true;
serve.enable = true;
fork.enable = desktop.enable;
};
};
};
}
|