From fccc0c1a8c77aa133775d96dc2aef5f2766965d8 Mon Sep 17 00:00:00 2001 From: nomadics9 Date: Thu, 24 Oct 2024 15:40:54 +0300 Subject: [PATCH] Guide comments SOPS --- hosts/common/users/nomad.nix | 9 ++++----- hosts/unkown/configuration.nix | 1 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hosts/common/users/nomad.nix b/hosts/common/users/nomad.nix index 630caa9..8493905 100644 --- a/hosts/common/users/nomad.nix +++ b/hosts/common/users/nomad.nix @@ -26,21 +26,20 @@ ]; packages = [ inputs.home-manager.packages.${pkgs.system}.default ]; openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICqA7j8hk3+k0b04eDxuoUakldqKrP0aatLm+CREjFJe" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICqA7j8hk3+k0b04eDxuoUakldqKrP0aatLm+CREjFJe" #SSH, YOU HAVE TO CHANGE THIS OR REMOVE IT ]; }; root = { openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICqA7j8hk3+k0b04eDxuoUakldqKrP0aatLm+CREjFJe" + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICqA7j8hk3+k0b04eDxuoUakldqKrP0aatLm+CREjFJe" #SSH, YOU HAVE TO CHANGE THIS OR REMOVE IT + ]; extraGroups = [ "key" ]; }; }; - # Decrypt the secrets file using sops-nix with age - - + #Decrypt the secrets file using sops-nix with age sops.secrets = { DUFS_USERNAME = { }; DUFS_PASSWORD = { }; diff --git a/hosts/unkown/configuration.nix b/hosts/unkown/configuration.nix index 38c0b4d..a96e4c7 100644 --- a/hosts/unkown/configuration.nix +++ b/hosts/unkown/configuration.nix @@ -37,6 +37,7 @@ # Ntfs support boot.supportedFilesystems = [ "ntfs" ]; + # Sops secrets Comment this out if you dont need secrets! and configure ur user in hosts/common/users/YOURUSERNAME.nix sops = { age.keyFile = "/etc/nixos/sops/age/keys.txt"; defaultSopsFile = ../../secrets/secrets.yaml;