From 62c0faf5ce0dccbe0e18a60d8b44f1871ea856c3 Mon Sep 17 00:00:00 2001 From: Leyla Becker Date: Tue, 3 Sep 2024 00:26:27 -0500 Subject: [PATCH] cleaned up configs --- README.md | 4 +++- hosts/defiant/configuration.nix | 6 ++++-- hosts/twilight/configuration.nix | 8 +++++++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 31eec77..706b38f 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,8 @@ keys for decrypting password secrets for each users located at ~/.config/sops/ag updating passwords: `sops secrets/secrets.yaml` +TODO: keys.txt should prob be readable by owning user only? + > how the current config was set up https://www.youtube.com/watch?v=G5f6GC7SnhU -> look into this? https://technotim.live/posts/rotate-sops-encryption-keys/ +> look into this? `https://technotim.live/posts/rotate-sops-encryption-keys/` \ No newline at end of file diff --git a/hosts/defiant/configuration.nix b/hosts/defiant/configuration.nix index 123d612..735d31e 100644 --- a/hosts/defiant/configuration.nix +++ b/hosts/defiant/configuration.nix @@ -16,8 +16,10 @@ sops.age.keyFile = "/home/leyla/.config/sops/age/keys.txt"; - users.leyla.isNormalUser = true; - users.leyla.isThinInstallation = true; + users.leyla = { + isNormalUser = true; + isThinInstallation = true; + }; users.ester.isNormalUser = false; users.eve.isNormalUser = false; diff --git a/hosts/twilight/configuration.nix b/hosts/twilight/configuration.nix index c2145e9..eee38be 100644 --- a/hosts/twilight/configuration.nix +++ b/hosts/twilight/configuration.nix @@ -16,7 +16,13 @@ sops.age.keyFile = "/home/leyla/.config/sops/age/keys.txt"; - users.leyla.isNormalUser = true; + users.leyla = { + isNormalUser = true; + hasPiperMouse = true; + hasOpenRGBHardware = true; + hasViaKeyboard = true; + hasGPU = true; + }; users.ester.isNormalUser = true; users.eve.isNormalUser = true;