Guide comments SOPS
This commit is contained in:
parent
0131e993d8
commit
fccc0c1a8c
2 changed files with 5 additions and 5 deletions
|
@ -26,21 +26,20 @@
|
||||||
];
|
];
|
||||||
packages = [ inputs.home-manager.packages.${pkgs.system}.default ];
|
packages = [ inputs.home-manager.packages.${pkgs.system}.default ];
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICqA7j8hk3+k0b04eDxuoUakldqKrP0aatLm+CREjFJe"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICqA7j8hk3+k0b04eDxuoUakldqKrP0aatLm+CREjFJe" #SSH, YOU HAVE TO CHANGE THIS OR REMOVE IT
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
root = {
|
root = {
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICqA7j8hk3+k0b04eDxuoUakldqKrP0aatLm+CREjFJe"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICqA7j8hk3+k0b04eDxuoUakldqKrP0aatLm+CREjFJe" #SSH, YOU HAVE TO CHANGE THIS OR REMOVE IT
|
||||||
|
|
||||||
];
|
];
|
||||||
extraGroups = [ "key" ];
|
extraGroups = [ "key" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Decrypt the secrets file using sops-nix with age
|
#Decrypt the secrets file using sops-nix with age
|
||||||
|
|
||||||
|
|
||||||
sops.secrets = {
|
sops.secrets = {
|
||||||
DUFS_USERNAME = { };
|
DUFS_USERNAME = { };
|
||||||
DUFS_PASSWORD = { };
|
DUFS_PASSWORD = { };
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
# Ntfs support
|
# Ntfs support
|
||||||
boot.supportedFilesystems = [ "ntfs" ];
|
boot.supportedFilesystems = [ "ntfs" ];
|
||||||
|
|
||||||
|
# Sops secrets Comment this out if you dont need secrets! and configure ur user in hosts/common/users/YOURUSERNAME.nix
|
||||||
sops = {
|
sops = {
|
||||||
age.keyFile = "/etc/nixos/sops/age/keys.txt";
|
age.keyFile = "/etc/nixos/sops/age/keys.txt";
|
||||||
defaultSopsFile = ../../secrets/secrets.yaml;
|
defaultSopsFile = ../../secrets/secrets.yaml;
|
||||||
|
|
Loading…
Reference in a new issue