diff --git a/flake.nix b/flake.nix index 39c939f..0f06c58 100755 --- a/flake.nix +++ b/flake.nix @@ -72,7 +72,7 @@ # hassle free desktop shell - https://docs.noctalia.dev/getting-started/nixos/ noctalia = { - url = "github:noctalia-dev/noctalia-shell"; + url = "github:noctalia-dev/noctalia/cachix"; inputs.nixpkgs.follows = "nixpkgs"; }; diff --git a/modules/features/desktop/noctalia.nix b/modules/features/desktop/noctalia.nix index 1571fc7..d94b208 100644 --- a/modules/features/desktop/noctalia.nix +++ b/modules/features/desktop/noctalia.nix @@ -11,6 +11,16 @@ # for home manager functionality imports = [ inputs.home-manager.nixosModules.home-manager ]; + # binary cache to reduce rebuild time + nix.settings = { + extra-substituters = [ + "https://noctalia.cachix.org" + ]; + extra-trusted-public-keys = [ + "noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4=" + ]; + }; + # noctalia power management services = { power-profiles-daemon.enable = true;