nixos/machines/Lilim/options.nix

96 lines
1.6 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"
"emacs"
"emacs::company"
2023-01-29 14:35:38 +01:00
"emacs::direnv"
"emacs::doom-modeline"
"emacs::doom-themes"
"emacs::elpy"
"emacs::flycheck"
"emacs::flyspell"
"emacs::latex"
"emacs::lsp"
"emacs::magit"
2019-12-18 09:48:37 +01:00
"emacs::mu4e"
2023-01-29 14:35:38 +01:00
"emacs::elfeed"
"emacs::nix-mode"
"emacs::org"
2019-12-18 09:48:37 +01:00
"emacs::transmission"
"emacs::web-mode"
2023-04-15 13:17:48 +02:00
"emacs::yaml-mode"
"emacs::yasnippet"
"extra"
"haskell"
"mail_utils"
"python3"
"xpkgs"
];
services = [
2023-01-29 14:35:38 +01:00
"bind"
"desktop"
"desktop::i3"
"udev"
"cups"
2023-01-29 14:35:38 +01:00
"mullvad"
"mariaDB"
2023-09-11 20:23:04 +02:00
"docker"
"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;
};
}