move agenix to own module

This commit is contained in:
lucy 2026-10-07 15:22:59 +02:00
commit b4b0f1a85b
3 changed files with 10 additions and 4 deletions

View file

@ -6,10 +6,6 @@
}: }:
{ {
age.enable = true;
age.identityPaths = [ "/var/lib/misc/key.age" ];
age.secrets.easyroam.file = ./secrets/easyroam.age;
environment.sessionVariables.NIXOS_OZONE_WL = "1";
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.loader.limine = { boot.loader.limine = {
enable = true; enable = true;

View file

@ -45,6 +45,7 @@
./configuration.nix ./configuration.nix
./maid.nix ./maid.nix
./modules/default.nix ./modules/default.nix
./secrets/age.nix
]; ];
in in
{ {

9
secrets/age.nix Normal file
View file

@ -0,0 +1,9 @@
{
age = {
enable = true;
identityPaths = [ "/var/lib/misc/key.age" ];
secrets = {
easyroam.file = ./easyroam.age;
};
};
}