formatted all files with nixfmt, added env variable to hold secrets
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
{lib, config, username, ...}: let
|
||||
home = "/home/${username}";
|
||||
{ lib, config, username, ... }:
|
||||
let home = "/home/${username}";
|
||||
in {
|
||||
options = {
|
||||
movOpts.programConfigs.passConfig.enable = lib.mkEnableOption "enables my pass config";
|
||||
movOpts.programConfigs.passConfig.enable =
|
||||
lib.mkEnableOption "enables my pass config";
|
||||
};
|
||||
config = lib.mkIf config.movOpts.programConfigs.passConfig.enable {
|
||||
programs.password-store = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PASSWORD_STORE_DIR = "${home}/.password-store";
|
||||
};
|
||||
settings = { PASSWORD_STORE_DIR = "${home}/.password-store"; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user