Add function for updating the secret path of the config

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-06-18 20:49:43 +02:00
parent 3e0350ffb6
commit ae5615f659
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
2 changed files with 4 additions and 1 deletions

View file

@ -732,7 +732,7 @@
"secret": {
"flake": false,
"locked": {
"lastModified": 1686920512,
"lastModified": 1687113829,
"narHash": "sha256-FUZSDRLVdz6margPVrtoKUg63BdxfRNENeUUOxTiIS4=",
"path": "/home/main/dotfiles2/secret",
"type": "path"

View file

@ -174,6 +174,9 @@
devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
(pkgs.writeShellScriptBin "update-secret" ''
nix flake lock --update-input secret
'')
nil
];
};