blob: 191dcfb2b6b1c24b8c32644a07906f4c41a31a17 (
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
|
{
config,
lib,
inputs,
username,
...
}:
{
options.nx.programs.nixcord.enable = lib.mkEnableOption "Enable nixcord and setup";
config = lib.mkIf config.nx.programs.nixcord.enable {
home-manager.users.${username} = { ... }: {
imports = [ inputs.nixcord.homeModules.nixcord ];
programs.nixcord = {
enable = true;
config = {
themeLinks = [
"https://refact0r.github.io/system24/theme/system24.theme.css"
];
frameless = true;
plugins = {
alwaysAnimate.enable = false;
imageLink.enable = true;
imageZoom.enable = true;
translate.enable = true;
};
};
};
};
};
}
|