fixed small error in trusted nix keys handling

This commit is contained in:
Dennis Frieberg 2023-09-22 20:00:35 +02:00
parent cba8cb1ce8
commit 44a0ef0ecd
Signed by: nerf
GPG key ID: 42DED0E2D8F04FB6
3 changed files with 8 additions and 3 deletions

View file

@ -5,7 +5,7 @@ let
admins = { admins = {
nerf = { nerf = {
hashedPassword = hashedPassword =
"$6$rounds=424242$FaEtIXMUScxgAYyF$Fl8GbPFgiEv.1iwrhtVpTixG1BTJys3aIfLyTzocQYZV4JymrYEXtnyCTURmVDe8stxbxgDutmtlyElfn1DQc/"; "$y$j9T$SJcjUIcs3JYuM5oyxfEQa/$tUBQT07FK4cb9xm.A6ZKVnFIPNOYMOKC6Dt6hadCuJ7";
keys = [ keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEdA4LpEGUUmN8esFyrNZXFb2GiBID9/S6zzhcnofQuP nerf@nerflap2" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEdA4LpEGUUmN8esFyrNZXFb2GiBID9/S6zzhcnofQuP nerf@nerflap2"
]; ];

View file

@ -1,6 +1,9 @@
{pkgs, config, lib, ...} : { {pkgs, config, lib, ...} : {
imports = [ ./admins.nix ]; imports = [
./admins.nix
./nix_keys.nix
];
nix = { nix = {
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes

View file

@ -1,4 +1,6 @@
{lib, ...} : {
imports = [ ];
nix.settings.trusted-public-keys = [ nix.settings.trusted-public-keys = [
"nerflap2-1:pDZCg0oo9PxNQxwVSQSvycw7WXTl53PGvVeZWvxuqJc=" "nerflap2-1:pDZCg0oo9PxNQxwVSQSvycw7WXTl53PGvVeZWvxuqJc="
]; ];
}