Compare commits

...

4 Commits

Author SHA1 Message Date
Alexandre LUCAZEAU 30ef40d9d7 ADD mail config
ADD FIDO2
2023-10-14 12:23:39 +02:00
Alexandre LUCAZEAU 9b7fd6bc83 ADD drawio to packages 2023-09-25 16:31:27 +02:00
Alexandre LUCAZEAU d863842579 ADD thunar and thunar plugin 2023-09-25 16:31:08 +02:00
Alexandre LUCAZEAU 5eddacb1bf ADD freecad to d2nix 2023-08-27 18:34:30 +02:00
5 changed files with 64 additions and 7 deletions

View File

@ -6,7 +6,8 @@
./variables.nix
./i3status.nix
./dunst.nix
./himalaya.nix
# ./himalaya.nix
./mails.nix
../../../modules/tmux.nix
../../../modules/emacs.nix
../../../modules/neovim.nix

View File

@ -0,0 +1,47 @@
{ pkgs, config, lib, ... }:{
# accounts.email.maildirBasePath = "Mailsdir";
accounts.email= {
accounts = {
dri = {
primary = true;
address = "alexandre@dri.fr";
userName = "1847_alexandre";
realName = "Alexandre LUCAZEAU";
passwordCommand = "keepassxc-cli show -a Password --no-password -k $HOME/Nextcloud/PRIVE/keys/emails $HOME/Nextcloud/PRIVE/Keepass/emails.kdbx emails";
flavor = "plain";
folders = {
inbox = "INBOX";
trash = "Junk";
};
imap = {
host = "imap.dri.fr";
tls.enable = false;
};
smtp = {
host = "smtp.dri.fr";
port = 587;
tls.enable = false;
};
mbsync = {
enable = true;
create = "both";
expunge = "both";
};
notmuch.enable = true;
};
};
};
services.mbsync = {
enable = true;
};
programs = {
msmtp.enable = true;
mbsync.enable = true;
notmuch.enable = true;
};
#xdg.configFile = {
# "msmtp/config".source= ./configs/msmtp_config;
#};
}

View File

@ -42,6 +42,10 @@
ferdi
thunderbird
cura
freecad
drawio
chromium
fido2luks
];
nixpkgs.config.permittedInsecurePackages = [
"ferdi-5.8.1"

View File

@ -13,6 +13,7 @@
./network.nix
modules/common.nix
modules/smtp.nix
modules/redshift.nix
# modules/starship.nix
modules/syncthing.nix
# modules/powermanagement.nix
@ -26,6 +27,9 @@
tmp.cleanOnBoot = true;
kernelParams = [ "i915.enable_fbc=1" ];
};
boot.initrd.luks.fido2Support = true;
boot.initrd.luks.devices."/dev/sda2".device = "/dev/sda2";
boot.initrd.luks.devices."/dev/sda2".fido2.credential = "a67d17616bf2568727498dffa95205df943383ab3a2f9798606532d5791a155a37dd52dae2262619c1da2be7562ec9dd94888c71a9326fea70dfe16214b5ea8ec0143b010000";
hardware = {
# Enable microcode updates for Intel CPU
@ -88,6 +92,12 @@
};
dconf.enable=true;
};
programs.thunar.enable = true;
programs.thunar.plugins = with pkgs.xfce; [
thunar-archive-plugin
thunar-volman
];
# Enable sound.
sound.enable = true;
@ -112,12 +122,6 @@
environment.variables.EDITOR = "nvim";
location = {
provider = "manual";
latitude = 47.77;
longitude = -1.164;
};
nix.settings.experimental-features = [ "nix-command" "flakes" ];
}

View File

@ -28,6 +28,7 @@
programs.fish.shellAliases = {
ll = "ls -l";
ls = "lsd";
lssh = "ssh -o 'PubkeyAcceptedKeyTypes +ssh-rsa' -o 'HostKeyAlgorithms +ssh-dss' -i ~/.ssh/id_rsa"
# vi = "nvim";
# vim = "nvim";
};