Skip to content

Commit

Permalink
fix(cachix): moved cachix repos to flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wittano committed Jan 27, 2024
1 parent 59d32df commit 0116d66
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 17 deletions.
11 changes: 0 additions & 11 deletions configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,6 @@
max-jobs = 4;
cores = 4;
auto-optimise-store = true;
substituters = [
"https://wittano-nix-repo.cachix.org"
"https://nix-community.cachix.org"
"https://cache.nixos.org/"
"https://hyprland.cachix.org"
];
trusted-public-keys = [
"wittano-nix-repo.cachix.org-1:SqjGwMsbzVQOXhbS90DXFC7AoGH99dzPy8zixK3cyt0="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
};
gc = {
automatic = true;
Expand Down
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
{
description = "Wittano NixOS configuration";

nixConfig = {
extra-substituters = [
"https://ezkea.cachix.org"
"https://wittano-nix-repo.cachix.org"
"https://nix-community.cachix.org"
"https://cache.nixos.org/"
"https://hyprland.cachix.org"
];
extra-trusted-public-keys = [
"ezkea.cachix.org-1:ioBmUbJTZIKsHmWWXPe1FSFbeVe+afhfgqgTSNd34eI="
"wittano-nix-repo.cachix.org-1:SqjGwMsbzVQOXhbS90DXFC7AoGH99dzPy8zixK3cyt0="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
};

inputs = {
nixpkgs.url = "nixpkgs/nixos-23.11";
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
Expand Down

0 comments on commit 0116d66

Please sign in to comment.