Add element config
This commit is contained in:
parent
392f0bb814
commit
f051d864a7
|
@ -70,6 +70,7 @@
|
||||||
./modules/wofi
|
./modules/wofi
|
||||||
./modules/dolphin
|
./modules/dolphin
|
||||||
./modules/firefox
|
./modules/firefox
|
||||||
|
./modules/element.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
@ -84,7 +85,6 @@
|
||||||
cantata
|
cantata
|
||||||
logseq
|
logseq
|
||||||
bitwarden
|
bitwarden
|
||||||
element-desktop
|
|
||||||
lxqt.pavucontrol-qt
|
lxqt.pavucontrol-qt
|
||||||
helvum
|
helvum
|
||||||
htop
|
htop
|
||||||
|
|
19
modules/user/modules/element.nix
Normal file
19
modules/user/modules/element.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
home.packages = [ pkgs.element-desktop ];
|
||||||
|
|
||||||
|
xdg.configFile = {
|
||||||
|
"Element/config.json".text = builtins.toJSON {
|
||||||
|
default_server_config = {
|
||||||
|
"m.homeserver" = {
|
||||||
|
base_url = "https://matrix.outfoxxed.me";
|
||||||
|
server_name = "outfoxxed.me";
|
||||||
|
};
|
||||||
|
|
||||||
|
"m.identity_server" = null;
|
||||||
|
};
|
||||||
|
|
||||||
|
show_labs_settings = true;
|
||||||
|
default_theme = "dark";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue