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, ... }:
{
nixpkgs.config.allowUnfree = true;
boot.loader = {
timeout = 1;
efi.canTouchEfiVariables = true;

View File

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