From b6abcf41b0686ec60a081850ba271e965a991ac0 Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Mon, 25 Dec 2023 20:11:46 +0000 Subject: [PATCH] Update secrets for helios --- flake.lock | 8 ++++---- hosts/helios/default.nix | 22 ++++++++++++++-------- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/flake.lock b/flake.lock index baedbce..44e1015 100644 --- a/flake.lock +++ b/flake.lock @@ -214,11 +214,11 @@ "secrets": { "flake": false, "locked": { - "lastModified": 1702936962, - "narHash": "sha256-uIZ2uPE26JKJ58463ejHMiAOpqBwflyN6tCmZ89vaSQ=", + "lastModified": 1703534108, + "narHash": "sha256-e2M90djo2EpNe6PE9zHI7X3LBSpKjmt5ZRW01i0Q/4E=", "ref": "refs/heads/master", - "rev": "c6db5c3ba8bff0e618fc3e31c9680863c5e53800", - "revCount": 5, + "rev": "4ec3e87d6a7b1f14d23c12c60cad62a6e43be4ca", + "revCount": 6, "type": "git", "url": "ssh://git@git.vimium.com/jordan/nix-secrets.git" }, diff --git a/hosts/helios/default.nix b/hosts/helios/default.nix index c308dca..b41cc9c 100644 --- a/hosts/helios/default.nix +++ b/hosts/helios/default.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, lib, pkgs, inputs, ... }: { imports = [ @@ -6,13 +6,19 @@ ../desktop.nix ]; - boot.loader.grub.enable = true; - boot.loader.grub.device = "/dev/sda"; - boot.loader.grub.zfsSupport = true; + boot = { + loader.grub = { + enable = true; + device = "/dev/sda"; + zfsSupport = true; + }; + }; - networking.hostName = "helios"; - networking.hostId = "47d23505"; - networking.networkmanager.enable = true; + networking = { + hostName = "helios"; + hostId = "47d23505"; + networkmanager.enable = true; + }; nix.package = pkgs.nixFlakes; nix.extraOptions = '' @@ -34,7 +40,7 @@ "/home/jordan/Documents" ]; repositories = [ - { label = "borgbase"; path = "ssh://cb2vwh9g@cb2vwh9g.repo.borgbase.com/./repo"; } + { label = "borgbase"; path = "ssh://b9cjl9hq@b9cjl9hq.repo.borgbase.com/./repo"; } ]; storage = { encryption_passcommand = "cat ${config.age.secrets."passwords/services/borg/helios-passphrase".path}";