From da8d6b77894dbf965fe77fd824512b6f160f906d Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sun, 20 Oct 2024 20:17:28 -0500 Subject: add age and sops pkgs. reluctantly add sops nix for managing secrets. change wifi config to use wpa supplicant and configure with secrets. wpa_gui installed. --- modules/root/secrets.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 modules/root/secrets.nix (limited to 'modules/root/secrets.nix') diff --git a/modules/root/secrets.nix b/modules/root/secrets.nix new file mode 100644 index 0000000..464a8f2 --- /dev/null +++ b/modules/root/secrets.nix @@ -0,0 +1,13 @@ +{ pkgs, inputs, config, userDetails, ... }: { + imports = [ inputs.sops-nix.nixosModules.sops ]; + + sops = { + defaultSopsFile = ./resources/secrets/secrets.yaml; + defaultSopsFormat = "yaml"; + age.keyFile = "${userDetails.home.root}/.config/sops/age/keys.txt"; + + secrets = { + wireless-env = { }; + }; + }; +} -- cgit v1.2.3