Add local proton setup

This commit is contained in:
Cyryl Płotnicki 2021-06-13 12:05:16 +01:00
parent 48cd3406e6
commit a4f8d43c07
3 changed files with 25 additions and 1 deletions

View file

@ -6,6 +6,7 @@
system = "x86_64-linux";
modules = [
(import ./nixos/boxes/foureighty)
(import ./nixos/email-accounts.nix)
home-manager.nixosModules.home-manager
{

24
nixos/email-accounts.nix Normal file
View file

@ -0,0 +1,24 @@
{ config, pkgs, ... }:
{
home-manager.users.cyryl = {...}: {
accounts.email.accounts.cyplo = {
primary = true;
address = "cyplO@cyplo.dev";
aliases = [ "cyplo@cyplo.net" ];
realName = "Cyryl Płotnicki";
userName = "cyplo";
};
home.packages = with pkgs; [
hydroxide
thunderbird
];
systemd.user.services."hydroxide" = {
Unit.Description = "Bridge to ProtonMail";
Install.WantedBy = [ "default.target" ];
Service.ExecStart = "${pkgs.hydroxide}/bin/hydroxide serve";
};
};
}

View file

@ -1,5 +1,4 @@
{ config, pkgs, ... }:
{
home-manager.users.cyryl = {...}: {
gtk = {