feat(home): add communication software (+ formatting)

main
mandlm 2022-06-22 21:40:34 +02:00
parent 505998b79d
commit 24b2c76e90
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
2 changed files with 55 additions and 46 deletions

View File

@ -1,6 +1,8 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
nixpkgs.config.allowUnfree = true;
boot.loader = { boot.loader = {
timeout = 1; timeout = 1;
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, user, ...}: { config, lib, pkgs, user, ... }:
{ {
home = { home = {
@ -21,6 +21,13 @@
pkg-config pkg-config
openssl openssl
]; ];
slack
thunderbird
signal-desktop
tdesktop
whatsapp-for-linux
nextcloud-client
keepassxc
file = { file = {
".config/nvim/init.lua" = { ".config/nvim/init.lua" = {
@ -50,7 +57,7 @@
git = { git = {
enable = true; enable = true;
extraConfig = { extraConfig = {
user.private.name = "Michael Mandl"; user.private.name = "Michael Mandl";
user.private.email = "mandlm@molez.net"; user.private.email = "mandlm@molez.net";
user.private.signingkey = "4AA25D647AA54CC7"; user.private.signingkey = "4AA25D647AA54CC7";
@ -97,13 +104,13 @@
}; };
gpg = { gpg = {
enable = true; enable = true;
mutableKeys = false; mutableKeys = false;
mutableTrust = false; mutableTrust = false;
publicKeys = [{ publicKeys = [{
source = ./gnupg/pubring.asc; source = ./gnupg/pubring.asc;
trust = "ultimate"; trust = "ultimate";
}]; }];
}; };
zsh = { zsh = {
@ -113,53 +120,53 @@
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [ "git" "direnv" "tmux" "vi-mode" ]; plugins = [ "git" "direnv" "tmux" "vi-mode" ];
theme = "intheloop"; theme = "intheloop";
}; };
localVariables = { localVariables = {
ZSH_TMUX_AUTOSTART = true; ZSH_TMUX_AUTOSTART = true;
ZSH_TMUX_AUTOCONNECT = true; ZSH_TMUX_AUTOCONNECT = true;
ZSH_TMUX_UNICODE = true; ZSH_TMUX_UNICODE = true;
}; };
}; };
i3status-rust = { i3status-rust = {
enable = true; enable = true;
bars = { bars = {
default = { default = {
theme = "solarized-dark"; theme = "solarized-dark";
icons = "awesome"; icons = "awesome";
blocks = [ blocks = [
{ {
block = "memory"; block = "memory";
display_type = "memory"; display_type = "memory";
format_mem = "{mem_used_percents}"; format_mem = "{mem_used_percents}";
} }
{ {
block = "cpu"; block = "cpu";
interval = 1; interval = 1;
format = "{barchart} {frequency}"; format = "{barchart} {frequency}";
} }
{ {
block = "load"; block = "load";
interval = 1; interval = 1;
format = "{1m}"; format = "{1m}";
} }
{ {
block = "battery"; block = "battery";
hide_missing = true; hide_missing = true;
format = "{time} ({percentage})"; format = "{time} ({percentage})";
} }
{ {
block = "time"; block = "time";
interval = 60; interval = 60;
format = "%a %d.%m %R"; format = "%a %d.%m %R";
} }
]; ];
};
}; };
};
}; };
home-manager.enable = true; home-manager.enable = true;
@ -172,7 +179,7 @@
terminal = "${pkgs.kitty}/bin/kitty"; terminal = "${pkgs.kitty}/bin/kitty";
fonts = { fonts = {
names = ["DejaVu Sans Mono" ]; names = [ "DejaVu Sans Mono" ];
size = 12.0; size = 12.0;
}; };
@ -192,7 +199,7 @@
statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs ~/.config/i3status-rust/config-default.toml"; statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs ~/.config/i3status-rust/config-default.toml";
fonts = { fonts = {
names = ["DejaVu Sans Mono" ]; names = [ "DejaVu Sans Mono" ];
size = 12.0; size = 12.0;
}; };
}]; }];