updates
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Vivian 2023-05-02 10:05:49 +02:00
parent 8c1f68aa17
commit c45c402512
4 changed files with 13 additions and 11 deletions

View file

@ -865,11 +865,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1682978422, "lastModified": 1683011302,
"narHash": "sha256-HRlZBmPHPVoF3D68mPfrTRdPmzPUSGRZokSdTSbm5tU=", "narHash": "sha256-obh4V+P6hla1ek7vr16qmenF/6iI7bVrT0uMjI3SFsM=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "052341df029a36590dcb3d208d8b2073bf9f9ba5", "rev": "9b3e4ea4fd5e0202b2f81b23bdd28081c6607e81",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -980,11 +980,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1682970362, "lastModified": 1683007714,
"narHash": "sha256-SrivGIhZr8rl136UpPlMY6oYAMDvI1RMcrto1YqilwI=", "narHash": "sha256-UnW0R/JiTya9DjBjmtDfhW3SlEfVhkBDz5g2FTIK8CQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "694865435f5f375eb5d86e33096d9e527f297bc3", "rev": "fb2febdfc649f68e7059537605761ffcc7d95cc0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1280,11 +1280,11 @@
"nixpkgs": "nixpkgs_9" "nixpkgs": "nixpkgs_9"
}, },
"locked": { "locked": {
"lastModified": 1682941117, "lastModified": 1683011386,
"narHash": "sha256-O05pGzPrgx5ztX1YEa5EmumZ0/29fzEI2hhB9qCnB8E=", "narHash": "sha256-uFYsk+7753LRf9h2m7QPeIDp3Y3VcMtDSEbFLnWo0+Q=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "a3dca9e818eea43d32e2a3cc7498bf883f49ab01", "rev": "cafb08b4cd6c1f2a3ddf4acfeccf63dac7a12e4f",
"revCount": 4, "revCount": 7,
"type": "git", "type": "git",
"url": "https://git.0x76.dev/v/vault-unseal.git" "url": "https://git.0x76.dev/v/vault-unseal.git"
}, },

View file

@ -20,6 +20,7 @@ in {
"nix.enableLanguageServer" = true; # Enable LSP. "nix.enableLanguageServer" = true; # Enable LSP.
"nix.serverPath" = "${pkgs.nil}/bin/nil"; "nix.serverPath" = "${pkgs.nil}/bin/nil";
"[nix]" = { "editor.defaultFormatter" = "brettm12345.nixfmt-vscode"; }; "[nix]" = { "editor.defaultFormatter" = "brettm12345.nixfmt-vscode"; };
"[python]" = { "editor.formatOnType" = true; };
"rust-analyzer.checkOnSave.command" = "clippy"; "rust-analyzer.checkOnSave.command" = "clippy";
"debug.allowBreakpointsEverywhere" = true; "debug.allowBreakpointsEverywhere" = true;
# Don't index unecessary things # Don't index unecessary things

View file

@ -4,6 +4,7 @@ let
cfg = config.services.v.vault; cfg = config.services.v.vault;
hostIP = config.deployment.targetHost; hostIP = config.deployment.targetHost;
# Find all vault hosts that do not have the same IP as the current host
vault_hosts = vault_hosts =
filter ({ tags ? [ ], ip ? "", ... }: (elem "vault" tags) && (ip != hostIP)) filter ({ tags ? [ ], ip ? "", ... }: (elem "vault" tags) && (ip != hostIP))
flat_hosts; flat_hosts;

View file

@ -1,4 +1,4 @@
{ ... }: { _: {
programs.home-manager.enable = true; programs.home-manager.enable = true;
home.username = "victor"; home.username = "victor";