add mail
This commit is contained in:
@@ -31,6 +31,7 @@ in
|
||||
chromium.enable = true;
|
||||
wireshark.enable = true;
|
||||
alacritty.enable = true;
|
||||
mail.enable = true;
|
||||
};
|
||||
programs.firefox.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
@@ -54,10 +55,6 @@ in
|
||||
arduino-cli
|
||||
firejail
|
||||
qbittorrent
|
||||
neomutt
|
||||
pass
|
||||
isync
|
||||
msmtp
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -36,6 +36,7 @@ in
|
||||
chromium.enable = true;
|
||||
wireshark.enable = true;
|
||||
steam.enable = true;
|
||||
mail.enable = true;
|
||||
};
|
||||
programs.firefox.enable = true;
|
||||
|
||||
@@ -59,10 +60,6 @@ in
|
||||
arduino-ide
|
||||
arduino-cli
|
||||
firejail
|
||||
neomutt
|
||||
pass
|
||||
isync
|
||||
msmtp
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3,5 +3,6 @@
|
||||
imports = [
|
||||
./openssh.nix
|
||||
./wireshark.nix
|
||||
./mail.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.mail.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "enables neomut isync and msmtp";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.mail.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
neomutt
|
||||
isync
|
||||
msmtp
|
||||
pass
|
||||
];
|
||||
programs.gnupg.agent.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user