Skip to content

Commit

Permalink
fix(sops): move sops setting to per users
Browse files Browse the repository at this point in the history
  • Loading branch information
misumisumi committed Oct 3, 2024
1 parent 8070604 commit 26e1f3b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
10 changes: 0 additions & 10 deletions apps/user/core/sops/default.nix

This file was deleted.

1 change: 0 additions & 1 deletion modules/home-manager/dotfiles.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ in
../../apps/user/core/man
../../apps/user/core/pkgs
../../apps/user/core/programs
../../apps/user/core/sops
../../apps/user/core/ssh
../../apps/user/core/starship
../../apps/user/core/tmux
Expand Down
5 changes: 5 additions & 0 deletions users/kobayashi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
{
systemd.user.startServices = "sd-switch";
sops = {
age = {
generateKey = true;
keyFile = "${config.home.homeDirectory}/.age-key.txt";
sshKeyPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ];
};
secrets."ssh.lua" = {
path = "${config.xdg.configHome}/wezterm/ssh.lua";
sopsFile = ../../sops/user/wezterm/ssh.lua;
Expand Down
5 changes: 5 additions & 0 deletions users/sumi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
{
systemd.user.startServices = "sd-switch";
sops = {
age = {
generateKey = true;
keyFile = "${config.home.homeDirectory}/.age-key.txt";
sshKeyPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ];
};
secrets = {
"ssh.lua" = {
path = "${config.xdg.configHome}/wezterm/ssh.lua";
Expand Down

0 comments on commit 26e1f3b

Please sign in to comment.