nixos/machines/Lilim/options.nix

107 lines
1.8 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"
"nvim"
"nvim::cmp"
"nvim::fugitive"
"nvim::go"
"nvim::harpoon"
"nvim::hurl"
"nvim::kanagawa-nvim"
"nvim::lsp"
"nvim::lsp::bash"
"nvim::lsp::emmet"
"nvim::lsp::go"
"nvim::lsp::harper"
"nvim::lsp::ltex"
"nvim::lsp::lua"
"nvim::lsp::nix-nil"
"nvim::lsp::python"
"nvim::lsp::typescript"
"nvim::lsp::yaml"
"nvim::lualine"
"nvim::nvim-highlight"
"nvim::oil-nvim"
"nvim::orgmode"
"nvim::sniprun"
"nvim::telescope"
"nvim::tmux-navigate"
"nvim::treesitter"
"nvim::trim"
"nvim::undotree"
"nvim::which-key"
"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-23 12:36:45 +01:00
"tmux"
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;
};
}