From 7ca48ea2fcba5966c7fa8bde3bab10740010c230 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 5 Jan 2024 13:23:43 -0600 Subject: [PATCH] Add pass --- modules/home-manager/default.nix | 45 ++++++++++++++++---------------- modules/home-manager/pass.nix | 6 +++++ nixos/foxtrot.nix | 1 + 3 files changed, 30 insertions(+), 22 deletions(-) create mode 100644 modules/home-manager/pass.nix diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix index 66c6607..f10eb78 100644 --- a/modules/home-manager/default.nix +++ b/modules/home-manager/default.nix @@ -3,32 +3,33 @@ with builtins; name = name; value = import ./${name}.nix; }) [ - "common" - "melee" - "linux" + "bat" + "broot" "cargo" - "macos" - "iex" - "mako" + "common" + "desktop" + "ewwbar" + "firefox" + "fish" "git" "helix" - "bat" - "fish" + "htop" + "hyprland" + "iex" "kitty" + "linux" + "linux-desktop" + "macos" + "mako" + "melee" + "nnn" + "pass" + "senpai" + "sway" + "sway-laptop" + "swaylock" + "tmux" + "waybar" "wezterm" "zellij" - "firefox" - "broot" - "nnn" - "waybar" - "swaylock" - "desktop" - "linux-desktop" - "sway" - "hyprland" - "ewwbar" - "sway-laptop" - "tmux" - "htop" - "senpai" ]) diff --git a/modules/home-manager/pass.nix b/modules/home-manager/pass.nix new file mode 100644 index 0000000..1ed9380 --- /dev/null +++ b/modules/home-manager/pass.nix @@ -0,0 +1,6 @@ +{pkgs, ...}: { + programs.password-store = { + enable = true; + package = pkgs.pass.withExtensions (exts: [exts.pass-otp]); + }; +} diff --git a/nixos/foxtrot.nix b/nixos/foxtrot.nix index a28617b..34d457f 100644 --- a/nixos/foxtrot.nix +++ b/nixos/foxtrot.nix @@ -27,6 +27,7 @@ in { home-manager.users.daniel = { imports = with outputs.homeManagerModules; [ sway + pass # sway-laptop # hyprland ];