From 654fa9e430be421df30ee79e7ea5f4e40b39dddc Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 4 Jun 2024 14:38:25 +0530 Subject: home, os: refactor --- home/pc/modules/dev.nix | 14 ++++++++++++++ home/pc/modules/pass.nix | 10 ++++++++++ 2 files changed, 24 insertions(+) create mode 100644 home/pc/modules/dev.nix create mode 100644 home/pc/modules/pass.nix (limited to 'home/pc/modules') diff --git a/home/pc/modules/dev.nix b/home/pc/modules/dev.nix new file mode 100644 index 0000000..0d51bdb --- /dev/null +++ b/home/pc/modules/dev.nix @@ -0,0 +1,14 @@ +{ pkgs, ... }: { + programs.man.enable = true; + + home.packages = with pkgs; [ + git + sops + + man-pages + man-pages-posix + + nil + nodePackages.bash-language-server + ]; +} diff --git a/home/pc/modules/pass.nix b/home/pc/modules/pass.nix new file mode 100644 index 0000000..9117c3a --- /dev/null +++ b/home/pc/modules/pass.nix @@ -0,0 +1,10 @@ +{ pkgs, ... }: { + home.packages = with pkgs; [ + (pass.withExtensions (exts: [ exts.pass-otp ])) + ]; + + services.gpg-agent = { + enable = true; + pinentryPackage = pkgs.pinentry-bemenu; + }; +} -- cgit v1.2.3