format: formatting all files
This commit is contained in:
parent
ee565ff88f
commit
fa791cd360
35 changed files with 333 additions and 263 deletions
|
|
@ -2,33 +2,39 @@
|
|||
{
|
||||
config.dendritic.features = {
|
||||
secrets-home-sops.homeModules = [
|
||||
({ inputs, config, ... }: {
|
||||
imports = [
|
||||
inputs.sops-nix.homeModules.sops
|
||||
];
|
||||
(
|
||||
{ inputs, config, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.sops-nix.homeModules.sops
|
||||
];
|
||||
|
||||
sops.defaultSopsFile = ../../secrets/users/${config.dendritic.current.primaryUser}.yaml;
|
||||
sops.defaultSopsFormat = "yaml";
|
||||
sops.age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
|
||||
sops.defaultSopsFile = ../../secrets/users/${config.dendritic.current.primaryUser}.yaml;
|
||||
sops.defaultSopsFormat = "yaml";
|
||||
sops.age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
|
||||
|
||||
sops.secrets."user/test" = {
|
||||
path = ".config/secrets/test";
|
||||
};
|
||||
})
|
||||
sops.secrets."user/test" = {
|
||||
path = ".config/secrets/test";
|
||||
};
|
||||
}
|
||||
)
|
||||
];
|
||||
|
||||
secrets-system-sops.nixosModules = [
|
||||
({ inputs, config, ... }: {
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
];
|
||||
(
|
||||
{ inputs, config, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
];
|
||||
|
||||
sops.defaultSopsFile = ../../secrets/hosts/${config.dendritic.current.hostName}.yaml;
|
||||
sops.defaultSopsFormat = "yaml";
|
||||
sops.age.keyFile = "/home/${config.dendritic.current.primaryUser}/.config/sops/age/keys.txt";
|
||||
sops.defaultSopsFile = ../../secrets/hosts/${config.dendritic.current.hostName}.yaml;
|
||||
sops.defaultSopsFormat = "yaml";
|
||||
sops.age.keyFile = "/home/${config.dendritic.current.primaryUser}/.config/sops/age/keys.txt";
|
||||
|
||||
sops.secrets."system/example" = { };
|
||||
})
|
||||
sops.secrets."system/example" = { };
|
||||
}
|
||||
)
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue