(desktop) Gen 487: fixed password-store directory issue
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ host, nur, self, inputs, username, config, ... }:
|
||||
{ host, nur, self, inputs, username, config, home-manager, ... }:
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
10
modules/home/scripts/wm-controls/hyprland.nix
Normal file
10
modules/home/scripts/wm-controls/hyprland.nix
Normal 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
|
||||
'')
|
||||
|
||||
Reference in New Issue
Block a user