diff --git a/hosts/common.nix b/hosts/common.nix index cf1e3ee..1543708 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -58,6 +58,7 @@ config = { ''; nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; # nix.nixPath = [ "nixpkgs=pkgs.outPath" ]; + networking.search = ["node.dc1.consul" "service.dc1.consul"]; #services.envfs.enable = true; @@ -67,7 +68,14 @@ nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; pkgs.sops pkgs.ssh-to-age pkgs.age + pkgs.bitwarden-cli ]; +nix.gc = { + automatic = true; # Enable the automatic garbage collector + dates = "03:15"; # When to run the garbage collector + options = "-d"; # Arguments to pass to nix-collect-garbage +}; + }; }