mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
users: update secrets path
This commit is contained in:
parent
ea7e49e453
commit
922fef8f9b
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
#sops.defaultSopsFile = ../secrets + "/${config.networking.hostName}/secrets.yaml";
|
||||
sops.secrets.felix-password.neededForUsers = true;
|
||||
sops.secrets.felix-password = { };
|
||||
sops.secrets."users/felix/password".neededForUsers = true;
|
||||
sops.secrets."users/felix/password" = { };
|
||||
|
||||
users.users.felix = {
|
||||
isNormalUser = true;
|
||||
|
@ -19,7 +19,7 @@
|
|||
"networkmanager"
|
||||
"video"
|
||||
];
|
||||
passwordFile = config.sops.secrets.felix-password.path;
|
||||
passwordFile = config.sops.secrets."users/felix/password".path;
|
||||
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFx6OLwL9MbkD3mnMsv+xrzZHN/rwCTgVs758SCLG0h felix@thinkman" ];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue