Skip to content

Commit

Permalink
refactor(flake): move Nix settings to separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
gekoke committed Dec 12, 2023
1 parent e742f82 commit 26b4565
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
13 changes: 1 addition & 12 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,7 @@
{
systems.modules.nixos = [
inputs.agenix.nixosModules.default
{
nix.settings = {
substituters = [
"https://nix-community.cachix.org"
"https://hyprland.cachix.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
};
}
{ nix.settings = import ./settings.nix; }
];

overlays = [
Expand Down
10 changes: 10 additions & 0 deletions settings.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
extra-substituters = [
"https://nix-community.cachix.org"
"https://hyprland.cachix.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
}

0 comments on commit 26b4565

Please sign in to comment.