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