nixos/machines/Lilim/options.nix

76 lines
1.1 KiB
Nix

{
pkgs,
lib,
...
}:
with lib;
{
imports = [
../../options/copySysConf.nix
];
config.machine = {
allowUnfree = true;
hostName = "Lilim";
networkD = {
enable = true;
waitOnline = false;
};
administrators = [
{
name = "derped";
id = 1337;
}
];
conffiles = [
"etcfiles"
"etcvars"
"fonts"
"zsh"
];
pkgs = [
"base"
"cpp"
"dict"
"extra"
"haskell"
"latex"
"mail_utils"
"nodejs"
"python3"
"xpkgs"
];
services = [
"cups"
"desktop"
"desktop::sway"
"mariaDB"
"mullvad"
"pipewire"
"podman"
"udev"
];
firewall = {
enable = true;
allowPing = true;
allowedUDPPorts = [ 24642 ];
allowedTCPPorts = [ 24642 ];
allowedUDPPortRanges = [
{
from = 1714;
to = 1764;
}
];
allowedTCPPortRanges = [
{
from = 1714;
to = 1764;
}
];
};
};
config.system.copySysConf = {
enable = false;
addToNixPath = false;
};
}