Skip to content

Commit

Permalink
desktop: Configure substituters for all users
Browse files Browse the repository at this point in the history
  • Loading branch information
juanibiapina committed Dec 30, 2024
1 parent 59f3b72 commit 0b35efb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
5 changes: 0 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
description = "Systems configuration";

nixConfig = {
extra-trusted-public-keys = "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=";
extra-substituters = "https://devenv.cachix.org https://nix-community.cachix.org";
};

inputs = {
devenv = {
url = "github:cachix/devenv";
Expand Down
13 changes: 13 additions & 0 deletions nix/hosts/desktop/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@
networking.hostId = "74461bc6";
networking.hostName = "desktop";

nix.settings = {
substituters = [
"http://mini.home.arpa:3001"
"https://devenv.cachix.org"
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"mini.home.arpa:oKnQjR3POJD+uqUqn1SNC8StOSLFU6lZ2q3OUsVQPco="
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};

# Enable wake on lan
networking.interfaces.enp4s0.wakeOnLan.enable = true;

Expand Down

0 comments on commit 0b35efb

Please sign in to comment.