backup mail and fzf
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
{ config, pkgs, inputs, ... }: {
|
||||
programs.fzf = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
|
||||
@@ -32,6 +32,12 @@ in {
|
||||
#This is useful to execute shebangs on NixOS that assume hard coded locations in locations like /bin or /usr/bin etc.
|
||||
services.envfs.enable = true;
|
||||
|
||||
# enables fzf and integration with bash/zsh/fish
|
||||
programs.fzf = {
|
||||
fuzzyCompletion = true;
|
||||
keybindings = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
getTotalPowerUsed
|
||||
watchCurrentPowerUsed
|
||||
@@ -39,7 +45,6 @@ in {
|
||||
wget
|
||||
else
|
||||
powerjoular) # monitor power usage
|
||||
fzf # fuzzy finder
|
||||
bat # fancy cat
|
||||
fd # nicer find
|
||||
duf # nicer du
|
||||
|
||||
@@ -50,12 +50,13 @@
|
||||
let
|
||||
kavita = "/data/kavita";
|
||||
gitolite = "/var/lib/gitolite";
|
||||
mail = "/data/vmail";
|
||||
syncthing = [ "/data/synced/default/" "/data/synced/work_drive/" ];
|
||||
syncthingFull = syncthing
|
||||
++ [ "/data/synced/fh/" "/data/synced/books/" ];
|
||||
backupPathsSmall = [ "/home" gitolite ] ++ syncthing;
|
||||
backupPathsMedium = [ "/home" gitolite ] ++ syncthing;
|
||||
backupPathsFull = [ "/home" kavita gitolite ] ++ syncthingFull;
|
||||
backupPathsSmall = [ "/home" gitolite mail ] ++ syncthing;
|
||||
backupPathsMedium = [ "/home" gitolite mail ] ++ syncthing;
|
||||
backupPathsFull = [ "/home" kavita gitolite mail ] ++ syncthingFull;
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
# create hash -> dovecot -O pw
|
||||
tmp_dovecot_passwords = "kopatz:{CRYPT}$2y$05$jqBkvhJ0e439J0PLhef4leOGc3GACGH83kSDCrvmAcsdz68tELkA6:5000:5000::/home/kopatz";
|
||||
email-domain = "mail.detschn.net";
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user