Set up password management utilities

This commit is contained in:
coolneng 2020-05-10 03:13:30 +02:00
parent d26ae28eb9
commit 4bcfb6a660
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
3 changed files with 20 additions and 13 deletions

View File

@ -10,23 +10,23 @@
recvu = true; recvu = true;
}; };
zetup = { zetup = {
"syscea/state/root" = { "syscea/stateful/root" = {
plan = "1d=>1h,1m=>1d,1y=>1m"; plan = "1d=>1h,1m=>1d,1y=>1m";
recursive = true; recursive = true;
mbuffer.enable = true; mbuffer.enable = true;
destinations.remote = { destinations.remote = {
host = "coolneng@zion"; host = "coolneng@zion";
dataset = "syscea/root"; dataset = "vault/backups/panacea/root";
}; };
}; };
"syscea/state/home" = { "syscea/stateful/home" = {
plan = "1d=>1h,1m=>1d,1y=>1m"; plan = "1d=>1h,1m=>1d,1y=>1m";
recursive = true; recursive = true;
mbuffer.enable = true; mbuffer.enable = true;
destinations.remote = { destinations.remote = {
host = "coolneng@zion"; host = "coolneng@zion";
dataset = "syscea/home"; dataset = "vault/backups/panacea/home";
}; };
}; };
}; };
@ -39,10 +39,7 @@
dataDir = "/home/coolneng"; dataDir = "/home/coolneng";
declarative = { declarative = {
devices = { devices = {
zion = { zion = { id = "XABIMVG-K5RKMAF-KNC33AR-TDAVEGK-GHUIVFD-NIFCX6L-6PQXRM5-KLK2PAU"; };
id = "XABIMVG-K5RKMAF-KNC33AR-TDAVEGK-GHUIVFD-NIFCX6L-6PQXRM5-KLK2PAU";
addresses = ["tcp://coolneng.duckdns.org:22000"];
};
}; };
folders = { folders = {
Documents = { Documents = {
@ -83,7 +80,6 @@
Projects = { Projects = {
id = "cjhmu-avy9v"; id = "cjhmu-avy9v";
type = "sendonly";
path = "/home/coolneng/Projects"; path = "/home/coolneng/Projects";
devices = [ "zion" ]; devices = [ "zion" ];
}; };

View File

@ -20,16 +20,17 @@
extraPackages = with pkgs; [ extraPackages = with pkgs; [
xwayland xwayland
swaylock swaylock
swayidle
swaybg swaybg
rofi rofi
waybar waybar
clipman clipman
wl-clipboard
grim grim
slurp slurp
light light
imv imv
kanshi kanshi
redshift-wlr
kitty kitty
]; ];
extraSessionCommands = '' extraSessionCommands = ''
@ -54,14 +55,17 @@
day = 6500; day = 6500;
night = 5000; night = 5000;
}; };
extraOptions = [ "-m wayland" "-l manual"];
}; };
location = { location = {
latitude = 35.89; latitude = 35.89;
longitude = -5.32; longitude = -5.32;
provider = "manual";
}; };
# Bar # Bar
programs.waybar.enable = true; programs.waybar.enable = true;
# GPG agent
programs.gnupg.agent = { enable = true; };
} }

View File

@ -5,11 +5,13 @@
# Monitoring # Monitoring
htop htop
# Password management # Password management
gnupg
pinentry-curses
pass-wayland pass-wayland
passff-host passff-host
gitAndTools.pass-git-helper gitAndTools.pass-git-helper
# Browsers # Browsers
firefox (firefox.override { extraNativeMessagingHosts = [ passff-host ]; })
chromium chromium
# LaTeX # LaTeX
texlive.combined.scheme-full texlive.combined.scheme-full
@ -29,6 +31,10 @@
git git
direnv direnv
lorri lorri
nixfmt
# Rice
adapta-gtk-theme
paper-icon-theme
]; ];
# Fonts declaration # Fonts declaration
@ -38,6 +44,7 @@
siji siji
cherry cherry
iosevka iosevka
emacs-all-the-icons-fonts
]; ];
}; };