hosts/dunamis/sops.nix: fix w/ statix hosts/dunamis/users/user/home-configuration.nix: fix w/ statix hosts/eldrid/users/user/home-configuration.nix: fix w/ statix modules/home/desktop/gnome/default.nix: fix w/ statix modules/home/desktop/hyprland/default.nix: fix w/ statix modules/home/desktop/niri/default.nix: add swayosd, move bar to the bottom, fix w/ statix modules/nixos/system/security/basic.nix: fix w/ statix Signed-off-by: unexplrd <unexplrd@linerds.us>
53 lines
1.3 KiB
Nix
53 lines
1.3 KiB
Nix
{inputs, ...}: {
|
|
imports = with inputs; [
|
|
sops-nix.nixosModules.sops
|
|
];
|
|
|
|
sops = {
|
|
age = {
|
|
sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
|
|
keyFile = "/var/lib/sops-nix/key.txt";
|
|
generateKey = true;
|
|
};
|
|
defaultSopsFile = "${toString inputs.mysecrets}/secrets.yaml";
|
|
secrets = {
|
|
"user-password-hashed".neededForUsers = true;
|
|
"ssh-config" = {
|
|
path = "/home/user/.ssh/config";
|
|
mode = "0400";
|
|
owner = "user";
|
|
};
|
|
"ssh-dunamis-user" = {
|
|
path = "/home/user/.ssh/id_ed25519";
|
|
mode = "0400";
|
|
owner = "user";
|
|
};
|
|
"ssh-dunamis-user.pub" = {
|
|
path = "/home/user/.ssh/id_ed25519.pub";
|
|
mode = "0400";
|
|
owner = "user";
|
|
};
|
|
"ssh-unexplrd" = {
|
|
path = "/home/user/.ssh/id_unexplrd_ed25519";
|
|
mode = "0400";
|
|
owner = "user";
|
|
};
|
|
"ssh-unexplrd.pub" = {
|
|
path = "/home/user/.ssh/id_unexplrd_ed25519.pub";
|
|
mode = "0400";
|
|
owner = "user";
|
|
};
|
|
"ssh-uni" = {
|
|
path = "/home/user/.ssh/id_uni_ed25519";
|
|
mode = "0400";
|
|
owner = "user";
|
|
};
|
|
"ssh-uni.pub" = {
|
|
path = "/home/user/.ssh/id_uni_ed25519.pub";
|
|
mode = "0400";
|
|
owner = "user";
|
|
};
|
|
};
|
|
};
|
|
}
|