nixos/machines/Lilim/options.nix

77 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"
"extra"
"haskell"
2024-11-20 15:22:46 +01:00
"latex"
"mail_utils"
2024-11-20 15:22:46 +01:00
"nodejs"
"python3"
"xpkgs"
];
services = [
2024-11-20 15:22:46 +01:00
"cups"
"desktop"
"desktop::sway"
2023-01-29 14:35:38 +01:00
"mariaDB"
2024-11-20 15:22:46 +01:00
"mullvad"
"pipewire"
2023-09-11 20:23:04 +02:00
"podman"
2024-11-20 15:22:46 +01:00
"udev"
];
firewall = {
enable = true;
allowPing = true;
allowedUDPPorts = [ 24642 ];
allowedTCPPorts = [ 24642 ];
2023-09-11 20:23:04 +02:00
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;
};
}