mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 23:59:07 +02:00
sops debugging
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
flake.homeModules.security-usr-sopsnix = { config, pkgs, ... }: {
|
flake.homeModules.security-usr-sopsnix = { config, pkgs, ... }: {
|
||||||
imports = [ inputs.sops-nix.homeManagerModules.sops ];
|
imports = [ inputs.sops-nix.homeManagerModules.sops ];
|
||||||
sops.age.keyFile = "/home/mo/.config/sops/age/keys.txt";
|
sops.age.keyFile = "${homeDirectory}/.config/sops/age/keys.txt";
|
||||||
sops.defaultSopsFile = ../secrets/secrets.yaml;
|
sops.defaultSopsFile = ../secrets/secrets.yaml;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
flake.nixosModules.users-sys-mo = { pkgs, config, ... }: {
|
flake.nixosModules.users-sys-mo = { pkgs, config, ... }: {
|
||||||
home-manager.extraSpecialArgs = {};
|
home-manager.extraSpecialArgs = {
|
||||||
|
homeDirectory = "/home/mo";
|
||||||
|
};
|
||||||
|
|
||||||
sops.secrets."users/mo/password" = {
|
sops.secrets."users/mo/password" = {
|
||||||
neededForUsers = true;
|
neededForUsers = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user