(desktop) Gen 487: fixed password-store directory issue

This commit is contained in:
pagedMov
2024-10-14 14:36:33 -04:00
parent 694e373b94
commit 8b16ca30b7
5 changed files with 28 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
{ host, nur, self, inputs, username, config, ... }:
{ host, nur, self, inputs, username, config, home-manager, ... }:

View File

@@ -1,10 +1,13 @@
{ ... }:
{ username, ... }:
let
home = "/home/${username}";
in
{
programs.password-store = {
enable = true;
settings = {
PASSWORD_STORE_DIR = "$XDG_DATA_HOME/.pass";
PASSWORD_STORE_DIR = "${home}/.password-store";
};
};
}

View File

@@ -16,6 +16,7 @@ let
nsp = (import ./nix/nsp.nix { self = self; pkgs = pkgs;});
nixr = (import ./nix/nixr.nix { self = self; pkgs = pkgs;});
nixp = (import ./nix/nixp.nix { self = self; pkgs = pkgs;});
hyprland = (import ./wm-controls/hyprland.nix { pkgs=pkgs; });
lofi = (import ./wm-controls/lofi.nix { self = self; pkgs = pkgs;});
music = (import ./wm-controls/music.nix { self = self; pkgs = pkgs;});
shutdown-script = (import ./wm-controls/shutdown-script.nix { self = self; pkgs = pkgs;});
@@ -36,6 +37,7 @@ in
garbage-collect
homep
homer
hyprland
invoke
lofi
mcd

View File

@@ -0,0 +1,10 @@
{ pkgs, ... }:
pkgs.writeShellScriptBin "hyprland" (''
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
exec Hyprland
'')