diff --git a/hosts/x201/nixos/configuration.nix b/hosts/x201/nixos/configuration.nix index 1d0fac8..275e638 100644 --- a/hosts/x201/nixos/configuration.nix +++ b/hosts/x201/nixos/configuration.nix @@ -137,8 +137,7 @@ fonts = { isNormalUser = true; home = "/home/alexandre"; description = "alexandre"; - extraGroups = [ "wheel" "networkmanager" "docker" "libvirtd" "scanner" " -lp" ]; + extraGroups = [ "wheel" "networkmanager" "docker" "libvirtd" "scanner" "plocate" "lp" ]; hashedPassword = "$6$7m77oPQxa$W9YnRLo1X2eqztBHwpoH8diHGkBno5O39AMyL9Qm8y8I6uW63H2Nwx4p239OG5zhOxA8J1lZvHTQ3hKPSP9mT/"; }; }; diff --git a/hosts/x201/nixos/services.nix b/hosts/x201/nixos/services.nix index 8965865..8ab604d 100644 --- a/hosts/x201/nixos/services.nix +++ b/hosts/x201/nixos/services.nix @@ -29,6 +29,12 @@ ntp.enable = true; tlp.enable = true; + locate = { + enable = true; + locate = pkgs.plocate; + interval = "hourly"; + localuser = null; + }; # udev.extraRules = '' # ACTION=="remove", ENV{ID_VENDOR_ID}=="1050", ENV{ID_MODEL_ID}=="0407", RUN+="/usr/bin/lockscreen-all" diff --git a/hosts/x201/nixpkgs/himalaya.nix b/hosts/x201/nixpkgs/himalaya.nix new file mode 100644 index 0000000..8114e92 --- /dev/null +++ b/hosts/x201/nixpkgs/himalaya.nix @@ -0,0 +1,25 @@ +{ + programs.himalaya = { + enable = true; + }; + accounts.email.accounts = { + zimbra = { + primary = true; + himalaya.enable = true; + address = "alexandre.lucazeau@free.fr"; + realName = "Alexandre LUCAZEAU"; + userName = "alexandre.lucazeau"; + passwordCommand = "keepassxc-cli show -a Password --no-password -k $HOME/keyx/emails.key $HOME/keys/emails.kbx zimbra"; + imap = { + host = "imap.free.fr"; + port = 993; + tls.enable = true; + }; + smtp = { + host = "smtp.free.fr"; + port = 587; + tls.enable = false; + }; + }; + }; +} diff --git a/hosts/x201/nixpkgs/packages.nix b/hosts/x201/nixpkgs/packages.nix index 0c0d51c..45c04c9 100644 --- a/hosts/x201/nixpkgs/packages.nix +++ b/hosts/x201/nixpkgs/packages.nix @@ -32,5 +32,6 @@ nodejs vlc guake + graphviz ]; }