Add local proton setup
This commit is contained in:
parent
48cd3406e6
commit
a4f8d43c07
3 changed files with 25 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
(import ./nixos/boxes/foureighty)
|
(import ./nixos/boxes/foureighty)
|
||||||
|
(import ./nixos/email-accounts.nix)
|
||||||
|
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
|
|
24
nixos/email-accounts.nix
Normal file
24
nixos/email-accounts.nix
Normal 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";
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,5 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home-manager.users.cyryl = {...}: {
|
home-manager.users.cyryl = {...}: {
|
||||||
gtk = {
|
gtk = {
|
||||||
|
|
Loading…
Reference in a new issue