From 9024b860407ce14639451536ef83a88d17297b66 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Mon, 21 Sep 2026 22:36:19 +1000 Subject: [PATCH] tweak: binary cache for noctalia to reduce rebuild times --- flake.nix | 2 +- modules/features/desktop/noctalia.nix | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) 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;