Solve initalPassword error

This commit is contained in:
Théo Barnouin 2024-11-28 11:39:31 +01:00
parent c88b1e03be
commit 25218cc404
3 changed files with 12 additions and 1 deletions

View file

@ -57,6 +57,9 @@
inherit system; inherit system;
modules = [ modules = [
agenix.nixosModules.default agenix.nixosModules.default
{
age.secrets.initialPassword.file = ./secrets/initialPassword.age;
}
"${inputs.nixpkgs}/nixos/modules/virtualisation/proxmox-lxc.nix" "${inputs.nixpkgs}/nixos/modules/virtualisation/proxmox-lxc.nix"
"${inputs.self}/services" "${inputs.self}/services"
{ {

View file

@ -0,0 +1,9 @@
age-encryption.org/v1
-> ssh-ed25519 OWkVXw Kp9otTIwi3SuVG43UebS2B+bvp6uy81KIIPIeJSW8iE
xXX6N1WrkxNLOC4ClZo9XzUZOdFK6210trH2GS5+N0E
-> ssh-ed25519 MTO1pg 70GcDYGKyG0w0s1ehWvcid1JKNRY3vRPeQhnEfHDWBI
Fcq3ZR6iA0J4CUBuQeVIyRoGMu88bd9oBrwGCJKicBE
-> ssh-ed25519 wnEUpw m7HRrztgLMS90k3cwzqBkMKfbji0Ub8atDwTGJNeq0c
rEPjFTG+hEPHNoLOyhmcY4QMJ4DYIIhBR10GVZqcIuo
--- eXz18+bRHesrblBjD/aqwFkAXUhEL741swR1csHpoXU
Ô|}pÁ#¢ç®,\m:(·¸ª# ëHH¡aÃÒ¸ß_~ª7 ž(5EgÈÏOQY[»r U;e

View file

@ -28,7 +28,6 @@
options = "--delete-older-than 7d"; options = "--delete-older-than 7d";
}; };
age.secrets.initialPassword.file = ./secrets/initialPassword.age;
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;
users = { users = {
users.tbarnouin = { users.tbarnouin = {