From eb754fb1638c7a1bfe74050f27fe862d4c3c3f4e Mon Sep 17 00:00:00 2001 From: ooks-io Date: Sat, 20 Apr 2024 22:34:07 +1200 Subject: [PATCH] feat(ooksphone): add substituters/trusted public keys --- home/user/ooks/ooksphone/default.nix | 7 ++++++- system/hosts/ooksphone/default.nix | 20 ++++++++++++++++---- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/home/user/ooks/ooksphone/default.nix b/home/user/ooks/ooksphone/default.nix index 3865755..a6487f5 100644 --- a/home/user/ooks/ooksphone/default.nix +++ b/home/user/ooks/ooksphone/default.nix @@ -9,7 +9,12 @@ theme.phone.enable = true; homeModules = { - console.editor.helix.enable = true; + console = { + editor.helix.enable = true; + shell.fish.enable = true; + prompt.starship.enable = true; + multiplexer.zellij.enable = true; + }; }; home.stateVersion = "23.11"; diff --git a/system/hosts/ooksphone/default.nix b/system/hosts/ooksphone/default.nix index dc9fb08..8063374 100644 --- a/system/hosts/ooksphone/default.nix +++ b/system/hosts/ooksphone/default.nix @@ -15,10 +15,22 @@ system.stateVersion = "23.11"; - nix.extraOptions = '' - experimental-features = nix-command flakes - ''; - + nix = { + extraOptions = '' + experimental-features = nix-command flakes + ''; + substituters = [ + "https://cache.nixos.org?priority=10" + "https://helix.cachix.org" + "https://nix-community.cachix.org" + ]; + trustedPublicKeys = [ + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" + "helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + }; + time.timeZone = "Pacific/Auckland"; user = {