Merge branch 'nixos' of github.com:MoritzBoehme/dotfiles into nixos

This commit is contained in:
Moritz Böhme 2021-10-11 11:18:27 +02:00
commit ee750878cd
2 changed files with 20 additions and 1 deletions

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
imports = [ ./rofi ./kitty.nix ./zathura.nix ]; imports = [ ./rofi ./kitty.nix ./zathura.nix ./email.nix ];
home-manager.users.moritz.home.packages = with pkgs; [ home-manager.users.moritz.home.packages = with pkgs; [
neofetch neofetch
unstable.keepassxc unstable.keepassxc

19
modules/apps/email.nix Normal file
View file

@ -0,0 +1,19 @@
{ config, lib, pkgs, ... }:
{
home-manager.users.moritz = { home.packages = with pkgs; [ thunderbird ]; };
services.gnome.gnome-keyring.enable = true;
environment.systemPackages = with pkgs; [ protonmail-bridge ];
systemd.user.services.protonmail-bridge = {
description = "Protonmail Bridge";
enable = true;
script =
"${pkgs.protonmail-bridge}/bin/protonmail-bridge --log-level debug";
path = [
pkgs.gnome3.gnome-keyring
]; # HACK: https://github.com/ProtonMail/proton-bridge/issues/176
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
};
networking.firewall.allowedTCPPorts = [ 33728 1025 1143 ];
}