From a8c6d5d8a490795aba3e789a35754705fb9a3e69 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 11 Feb 2024 09:10:03 +0000 Subject: [PATCH] remove root_password secret, is dup of root.passwd --- examples/arhcive.nix | 2 +- examples/extneder.nix | 2 +- examples/rotuer-secrets.example.nix | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/arhcive.nix b/examples/arhcive.nix index 360e8e84..5ed6ad14 100644 --- a/examples/arhcive.nix +++ b/examples/arhcive.nix @@ -145,7 +145,7 @@ in rec { }; users.root = { - passwd = lib.mkForce secrets.root_password; + passwd = lib.mkForce secrets.root.passwd; # openssh.authorizedKeys.keys = [ # (builtins.readFile "/home/dan/.ssh/id_rsa.pub") # ]; diff --git a/examples/extneder.nix b/examples/extneder.nix index f640f0ed..1b2fab5d 100644 --- a/examples/extneder.nix +++ b/examples/extneder.nix @@ -131,6 +131,6 @@ in rec { dependencies = [services.dhcpc]; }; - users.root.passwd = lib.mkForce secrets.root_password; + users.root.passwd = lib.mkForce secrets.root.passwd; defaultProfile.packages = with pkgs; [nftables strace tcpdump swconfig]; } diff --git a/examples/rotuer-secrets.example.nix b/examples/rotuer-secrets.example.nix index 368a930d..0917d9a8 100644 --- a/examples/rotuer-secrets.example.nix +++ b/examples/rotuer-secrets.example.nix @@ -1,4 +1,4 @@ -rec { +{ wpa_passphrase = "you bring light in"; l2tp = { name = "abcde@a.1"; @@ -10,9 +10,9 @@ rec { openssh.authorizedKeys.keys = [ ]; }; - root_password = root.passwd; + lan = { - prefix = "10.8.0"; # "192.168.8"; + prefix = "10.8.0"; }; }