2019-03-23 02:50:48 +01:00
|
|
|
{
|
2023-09-11 20:23:04 +02:00
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; {
|
2019-10-23 03:44:17 +02:00
|
|
|
imports = [
|
2019-04-18 07:40:47 +02:00
|
|
|
../../options/copySysConf.nix
|
2019-03-23 02:50:48 +01:00
|
|
|
];
|
|
|
|
config.machine = {
|
|
|
|
allowUnfree = true;
|
|
|
|
hostName = "Lilim";
|
2023-08-26 08:02:47 +02:00
|
|
|
networkD = {
|
|
|
|
enable = true;
|
|
|
|
waitOnline = false;
|
|
|
|
};
|
2023-09-11 20:23:04 +02:00
|
|
|
administrators = [
|
|
|
|
{
|
|
|
|
name = "derped";
|
|
|
|
id = 1337;
|
|
|
|
}
|
|
|
|
];
|
2019-03-23 02:50:48 +01:00
|
|
|
conffiles = [
|
|
|
|
"etcfiles"
|
|
|
|
"etcvars"
|
|
|
|
"fonts"
|
|
|
|
"zsh"
|
|
|
|
];
|
|
|
|
pkgs = [
|
|
|
|
"base"
|
2020-01-26 17:50:05 +01:00
|
|
|
"cpp"
|
2019-03-23 02:50:48 +01:00
|
|
|
"dict"
|
2023-01-29 14:35:38 +01:00
|
|
|
"nodejs"
|
|
|
|
"latex"
|
2019-03-23 02:50:48 +01:00
|
|
|
"emacs"
|
2019-11-17 23:13:50 +01:00
|
|
|
"emacs::company"
|
2023-01-29 14:35:38 +01:00
|
|
|
"emacs::direnv"
|
2020-01-26 17:50:05 +01:00
|
|
|
"emacs::doom-modeline"
|
|
|
|
"emacs::doom-themes"
|
|
|
|
"emacs::elpy"
|
2019-11-17 23:13:50 +01:00
|
|
|
"emacs::flycheck"
|
2020-01-26 17:50:05 +01:00
|
|
|
"emacs::flyspell"
|
|
|
|
"emacs::latex"
|
2020-03-27 13:39:44 +01:00
|
|
|
"emacs::lsp"
|
2019-11-17 23:13:50 +01:00
|
|
|
"emacs::magit"
|
2019-12-18 09:48:37 +01:00
|
|
|
"emacs::mu4e"
|
2023-01-29 14:35:38 +01:00
|
|
|
"emacs::elfeed"
|
2020-01-26 17:50:05 +01:00
|
|
|
"emacs::nix-mode"
|
2019-11-17 23:13:50 +01:00
|
|
|
"emacs::org"
|
2019-12-18 09:48:37 +01:00
|
|
|
"emacs::transmission"
|
2020-01-26 17:50:05 +01:00
|
|
|
"emacs::web-mode"
|
2023-04-15 13:17:48 +02:00
|
|
|
"emacs::yaml-mode"
|
2020-03-27 13:39:44 +01:00
|
|
|
"emacs::yasnippet"
|
2019-03-23 02:50:48 +01:00
|
|
|
"extra"
|
|
|
|
"haskell"
|
2019-10-11 20:51:46 +02:00
|
|
|
"mail_utils"
|
2019-03-23 02:50:48 +01:00
|
|
|
"python3"
|
|
|
|
"xpkgs"
|
|
|
|
];
|
|
|
|
services = [
|
2023-01-29 14:35:38 +01:00
|
|
|
"bind"
|
2019-05-04 13:47:21 +02:00
|
|
|
"desktop"
|
2023-09-09 22:50:25 +02:00
|
|
|
"desktop::i3"
|
2019-03-23 02:50:48 +01:00
|
|
|
"udev"
|
|
|
|
"cups"
|
2023-01-29 14:35:38 +01:00
|
|
|
"mullvad"
|
|
|
|
"mariaDB"
|
2023-09-11 20:23:04 +02:00
|
|
|
"docker"
|
|
|
|
"podman"
|
2019-03-23 02:50:48 +01:00
|
|
|
];
|
|
|
|
firewall = {
|
2019-08-27 16:24:59 +02:00
|
|
|
enable = true;
|
2019-03-23 02:50:48 +01:00
|
|
|
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-03-23 02:50:48 +01:00
|
|
|
};
|
|
|
|
};
|
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;
|
|
|
|
};
|
2019-03-23 02:50:48 +01:00
|
|
|
}
|