oizys/hosts/othalan/default.nix

52 lines
1 KiB
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-12-12 14:13:29 -06:00
2024-08-12 11:39:14 -05:00
oizys =
{
nix-ld = enabled // {
overkill = enabled;
};
2024-11-28 22:53:35 -06:00
languages = "misc|nim|node|nushell|python|tex" |> listify;
2024-08-12 11:39:14 -05:00
}
// (
''
2024-12-02 14:31:17 -06:00
desktop
hyprland
chrome
vpn
backups
llm
hp-scanner
vbox
podman
docker
2024-12-11 14:32:34 -06:00
utils
2024-08-12 11:39:14 -05:00
''
|> listify
|> enableAttrs
);
2024-11-28 17:54:36 -06:00
2024-11-28 22:53:35 -06:00
sops = {
defaultSopsFile = ./secrets.yaml;
# This will automatically import SSH keys as age keys
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
secrets.mullvad-userpass = { };
secrets."mullvad_ca.crt" = { };
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-11-28 18:53:31 -06:00
};
2024-01-23 11:51:13 -06:00
}