This commit is contained in:
parent
8c1f68aa17
commit
c45c402512
4 changed files with 13 additions and 11 deletions
|
@ -20,6 +20,7 @@ in {
|
|||
"nix.enableLanguageServer" = true; # Enable LSP.
|
||||
"nix.serverPath" = "${pkgs.nil}/bin/nil";
|
||||
"[nix]" = { "editor.defaultFormatter" = "brettm12345.nixfmt-vscode"; };
|
||||
"[python]" = { "editor.formatOnType" = true; };
|
||||
"rust-analyzer.checkOnSave.command" = "clippy";
|
||||
"debug.allowBreakpointsEverywhere" = true;
|
||||
# Don't index unecessary things
|
||||
|
|
|
@ -4,6 +4,7 @@ let
|
|||
cfg = config.services.v.vault;
|
||||
hostIP = config.deployment.targetHost;
|
||||
|
||||
# Find all vault hosts that do not have the same IP as the current host
|
||||
vault_hosts =
|
||||
filter ({ tags ? [ ], ip ? "", ... }: (elem "vault" tags) && (ip != hostIP))
|
||||
flat_hosts;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue