sops config
This commit is contained in:
@@ -8,7 +8,7 @@ in
|
||||
flake.nixosConfigurations."${hostname}" = inputs.nixpkgs.lib.nixosSystem {
|
||||
modules = with inputs.self.modules; [
|
||||
nixos.lxc
|
||||
nixos.sops
|
||||
nixos.mysops
|
||||
nixos.step-ssh-host
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
nixos."${username}"
|
||||
@@ -66,8 +66,6 @@ in
|
||||
|
||||
home-manager.users."${username}" = {
|
||||
imports = with inputs.self.modules; [
|
||||
homeManager.sops
|
||||
homeManager.step-ssh-user
|
||||
homeManager"${hostname}"
|
||||
];
|
||||
};
|
||||
@@ -76,16 +74,18 @@ in
|
||||
};
|
||||
|
||||
flake.modules.homeManager."${hostname}" = { config, ... }: {
|
||||
imports = with inputs.self.modules.homeManager; [
|
||||
rebuild
|
||||
sops
|
||||
mtls
|
||||
imports = with inputs.self.modules; [
|
||||
homeManager.rebuild
|
||||
homeManager.mysops
|
||||
homeManager.mtls
|
||||
];
|
||||
|
||||
homeManagerFlakeDir = "${config.xdg.configHome}/home-manager";
|
||||
home.username = "${username}";
|
||||
home.homeDirectory = "/home/${username}";
|
||||
shell.program = "zsh";
|
||||
|
||||
mysops.hostSecretFile = "${config.xdg.configHome}/home-manager/modules/hosts/soteria/secrets.yaml";
|
||||
};
|
||||
|
||||
flake.homeConfigurations."${hostname}" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||
|
||||
Reference in New Issue
Block a user