From 24b2c76e909eccf8a496f0566b143830c5f94397 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Wed, 22 Jun 2022 21:40:34 +0200 Subject: [PATCH] feat(home): add communication software (+ formatting) --- configuration.nix | 2 + home-mandlm.nix | 99 +++++++++++++++++++++++++---------------------- 2 files changed, 55 insertions(+), 46 deletions(-) diff --git a/configuration.nix b/configuration.nix index aedc6a1..5ceea85 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,6 +1,8 @@ { config, pkgs, ... }: { + nixpkgs.config.allowUnfree = true; + boot.loader = { timeout = 1; efi.canTouchEfiVariables = true; diff --git a/home-mandlm.nix b/home-mandlm.nix index 55dcc0b..c987600 100644 --- a/home-mandlm.nix +++ b/home-mandlm.nix @@ -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; }; }];