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/home.nix | 9 +++++++++ home/pc/modules/dev.nix | 14 ++++++++++++++ home/pc/modules/pass.nix | 10 ++++++++++ 3 files changed, 33 insertions(+) create mode 100644 home/pc/home.nix create mode 100644 home/pc/modules/dev.nix create mode 100644 home/pc/modules/pass.nix (limited to 'home/pc') diff --git a/home/pc/home.nix b/home/pc/home.nix new file mode 100644 index 0000000..cad5bd6 --- /dev/null +++ b/home/pc/home.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: { + imports = [ + ./modules/pass.nix + ./modules/dev.nix + ../wayland/home.nix + ]; + + home.packages = with pkgs; [ ffmpeg ]; +} 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