oizys/hosts/othalan/default.nix

42 lines
935 B
Nix
Raw Normal View History

2024-08-11 08:29:46 -05:00
{
enabled,
enableAttrs,
2024-08-12 11:39:14 -05:00
listify,
2024-11-28 18:53:31 -06:00
config,
2024-08-11 08:29:46 -05:00
...
}:
2024-01-23 11:51:13 -06:00
{
2024-08-12 11:39:14 -05:00
oizys =
{
nix-ld = enabled // {
overkill = enabled;
};
2024-09-18 16:13:30 -05:00
languages =
"misc|nim|node|nushell|python|tex"
# + "roc|zig"
|> listify;
2024-08-12 11:39:14 -05:00
}
// (
2024-11-03 18:46:38 -06:00
# llm
2024-08-12 11:39:14 -05:00
''
vpn|desktop|hyprland|chrome
backups|hp-scanner|llm
2024-10-19 18:17:00 -05:00
podman|docker|vbox
2024-08-12 11:39:14 -05:00
''
|> listify
|> enableAttrs
);
2024-11-28 17:54:36 -06:00
sops.defaultSopsFile = ./secrets.yaml;
# This will automatically import SSH keys as age keys
2024-11-28 18:53:31 -06:00
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
sops.secrets.restic-othalan = {
# Permission modes are in octal representation (same as chmod),
mode = "0440";
# It is recommended to get the group/name name from
# `config.users.users.<?name>.{name,group}` to avoid misconfiguration
owner = config.users.users.daylin.name;
group = config.users.users.daylin.group;
};
2024-01-23 11:51:13 -06:00
}