diff --git a/home/default.nix b/home/default.nix index 95311004..db47d138 100644 --- a/home/default.nix +++ b/home/default.nix @@ -2,6 +2,7 @@ { imports = [ + ./pass ./git ./ssh ./tui diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 2120bcf2..3cf47862 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -31,6 +31,7 @@ in { ]; home.packages = with pkgs; [ libsForQt5.polkit-kde-agent configure-gtk ]; programs = { + password-store.package = pkgs.pass-wayland; firefox.package = pkgs.firefox-wayland; rofi = { package = pkgs.rofi-wayland; diff --git a/home/pass/default.nix b/home/pass/default.nix new file mode 100644 index 00000000..051797fa --- /dev/null +++ b/home/pass/default.nix @@ -0,0 +1,12 @@ +{ ... }: + +{ + programs = { + gpg.enable = true; + password-store = { + enable = true; + settings.PASSWORD_STORE_DIR = "$HOME/.password-store"; + }; + }; + services.gpg-agent.enable = true; +} diff --git a/hosts/common.nix b/hosts/common.nix index 588d3320..51f8f55e 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -25,7 +25,10 @@ in }; }; networking.networkmanager.enable = true; - services.power-profiles-daemon.enable = true; + services = { + power-profiles-daemon.enable = true; + passSecretService.enable = true; + }; virtualisation.podman.enable = true; programs = { ${shell}.enable = true; }; # Set your time zone.