68 lines
1.1 KiB
Nix
68 lines
1.1 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
p = import ../parameters.nix;
|
|
in
|
|
{
|
|
|
|
age.secrets.tailscale-authKey.file = ../../secrets/tailscale-authKey.age;
|
|
|
|
my = {
|
|
|
|
networking = {
|
|
tailscale = {
|
|
enable = true;
|
|
magicDNSDomain = p.domains.tsDns;
|
|
authKeyFile = config.age.secrets.tailscale-authKey.path;
|
|
};
|
|
};
|
|
|
|
utils = {
|
|
commons.enable = true;
|
|
commons.gc.enable = false;
|
|
lxc-standard.enable = true;
|
|
};
|
|
|
|
virtualisation.proxmox.enable = true;
|
|
};
|
|
|
|
# Extra packages
|
|
environment = {
|
|
|
|
systemPackages = with pkgs; [
|
|
git
|
|
just
|
|
zellij
|
|
openssl
|
|
nixfmt-rfc-style
|
|
];
|
|
|
|
interactiveShellInit = ''
|
|
alias j='just'
|
|
'';
|
|
};
|
|
|
|
programs = {
|
|
|
|
# For VSCode Remote Development
|
|
nix-ld.enable = true;
|
|
|
|
starship = {
|
|
enable = true;
|
|
presets = [
|
|
"nerd-font-symbols"
|
|
];
|
|
settings = {
|
|
add_newline = true;
|
|
container.disabled = true;
|
|
nix_shell.disabled = false;
|
|
};
|
|
};
|
|
};
|
|
|
|
system.stateVersion = "24.11";
|
|
}
|