diff --git a/flake.nix b/flake.nix index 5c1641e..2718b8b 100755 --- a/flake.nix +++ b/flake.nix @@ -10,6 +10,9 @@ extra-trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; + substituters = [ + "https://cache.kamillaova.dev/?priority=1" + ]; }; inputs = { diff --git a/hosts/nixos-common.nix b/hosts/nixos-common.nix index 688fab4..c2c035d 100644 --- a/hosts/nixos-common.nix +++ b/hosts/nixos-common.nix @@ -1,10 +1,14 @@ { abs, pkgs, ... }: { - nix.settings.experimental-features = [ "nix-command" "flakes" ]; - nix.settings.trusted-users = [ "@wheel" ]; + nix.settings = { + trusted-users = [ "@wheel" ]; + experimental-features = [ "nix-command" "flakes" ]; + substituters = [ + "https://cache.kamillaova.dev/?priority=1" + ]; + }; nixpkgs.config.allowUnfree = true; - # nix.settings.sandbox = false; time.timeZone = "Europe/Moscow"; i18n.defaultLocale = "en_US.UTF-8";