nixos/machines/Lilim/options.nix

75 lines
1.1 KiB
Nix
Raw Normal View History

{
2023-09-11 20:23:04 +02:00
pkgs,
lib,
...
}:
with lib; {
imports = [
2019-04-18 07:40:47 +02:00
../../options/copySysConf.nix
];
config.machine = {
allowUnfree = true;
hostName = "Lilim";
networkD = {
enable = true;
waitOnline = false;
};
2023-09-11 20:23:04 +02:00
administrators = [
{
name = "derped";
id = 1337;
}
];
conffiles = [
"etcfiles"
"etcvars"
"fonts"
"zsh"
];
pkgs = [
"base"
"cpp"
"dict"
2023-01-29 14:35:38 +01:00
"nodejs"
"latex"
"extra"
"haskell"
"mail_utils"
"python3"
"xpkgs"
];
services = [
"desktop"
"desktop::sway"
"udev"
"cups"
2023-01-29 14:35:38 +01:00
"mullvad"
"mariaDB"
2023-09-11 20:23:04 +02:00
"podman"
];
firewall = {
enable = true;
allowPing = true;
2023-09-11 20:23:04 +02:00
allowedUDPPorts = [24642];
allowedTCPPorts = [24642];
allowedUDPPortRanges = [
{
from = 1714;
to = 1764;
}
];
allowedTCPPortRanges = [
{
from = 1714;
to = 1764;
}
];
};
};
2019-04-18 07:40:47 +02:00
config.system.copySysConf = {
2019-09-29 08:09:26 +02:00
enable = false;
2019-04-18 07:40:47 +02:00
addToNixPath = false;
};
}