Passwords

This commit is contained in:
Daniel Flanagan 2024-07-10 09:57:10 -05:00
parent 14bf7cbb24
commit 14fabcbe20
4 changed files with 39 additions and 10 deletions

View file

@ -183,6 +183,7 @@
hardware.nixosModules.common-cpu-amd hardware.nixosModules.common-cpu-amd
hardware.nixosModules.common-pc-ssd hardware.nixosModules.common-pc-ssd
password-manager
wifi wifi
graphical-workstation graphical-workstation
music-production music-production
@ -194,7 +195,6 @@
{ {
home-manager.users.daniel = { home-manager.users.daniel = {
imports = with homeManagerModules; [ imports = with homeManagerModules; [
pass
senpai senpai
iex iex
cargo cargo

View file

@ -1141,7 +1141,7 @@
macos = { macos = {
imports = with homeManagerModules; [ imports = with homeManagerModules; [
desktop desktop
pass password-manager
]; ];
}; };
@ -1149,15 +1149,26 @@
# nnn = {}; # nnn = {};
password-manager = {pkgs, ...}: {
imports = with homeManagerModules; [
pass
];
home.packages = with pkgs; [
passage
rage
age-plugin-yubikey
bitwarden-cli
oath-toolkit
bitwarden-desktop
];
};
pass = {pkgs, ...}: { pass = {pkgs, ...}: {
programs.password-store = { programs.password-store = {
enable = true; enable = true;
package = pkgs.pass.withExtensions (exts: [exts.pass-otp]); package = pkgs.pass.withExtensions (exts: [exts.pass-otp]);
}; };
home.packages = with pkgs; [
pinentry-curses
];
}; };
senpai = {config, ...}: { senpai = {config, ...}: {

View file

@ -160,6 +160,18 @@
}; };
}; };
password-manager = {pkgs, ...}: {
programs.goldwarden = {
enable = true;
};
home-manager.users.daniel = {
imports = with homeManagerModules; [
password-manager
];
};
};
tailscale = {lib, ...}: { tailscale = {lib, ...}: {
services.tailscale = { services.tailscale = {
enable = true; enable = true;
@ -371,7 +383,11 @@
]; ];
}; };
plasma6 = {pkgs, ...}: { plasma6 = {
pkgs,
lib,
...
}: {
imports = with nixosModules; [ imports = with nixosModules; [
kde-connect kde-connect
pipewire pipewire
@ -786,8 +802,10 @@
daniel daniel
]; ];
programs.gnupg.agent.enable = false; programs.gnupg.agent = {
programs.gnupg.agent.pinentryPackage = pkgs.pinentry-tty; enable = true;
pinentryPackage = lib.mkDefault pkgs.pinentry-tty;
};
time = { time = {
timeZone = lib.mkDefault "America/Chicago"; timeZone = lib.mkDefault "America/Chicago";

View file

@ -60,7 +60,7 @@
home-manager.users.daniel = { home-manager.users.daniel = {
imports = with outputs.homeManagerModules; [ imports = with outputs.homeManagerModules; [
sway sway
pass password-manager
firefox-no-tabs firefox-no-tabs
# wallpaper-manager # wallpaper-manager
# sway-laptop # sway-laptop