This commit is contained in:
2023-02-27 04:21:57 +00:00
parent e508377d85
commit 9c270ccc0b
6 changed files with 24 additions and 60 deletions

View File

@@ -1,7 +1,11 @@
# This is your home-manager configuration file
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
{ inputs, outputs, lib, config, pkgs, ... }: {
{ inputs, outputs, lib, config, pkgs, ... }:
# let getEnv_name = builtins.getEnv name;
# in
{
imports = [
../../global
];
@@ -15,7 +19,8 @@
secrets.mrconfig = {
sopsFile = "${config._secretstore}/user_dotfiles/mrconfig"; # optionally define per-secret files
format = "binary";
path = "${config.home.homeDirectory}/.mrconfig";
# path = "${config.home.homeDirectory}/.mrconfig";
path = "${config.home.homeDirectory}/${getEnv_name}";
};
};