nixos/machines/Marid/options.nix

74 lines
1.2 KiB
Nix
Raw Normal View History

2021-11-25 22:03:04 +01:00
{
2023-09-11 20:23:04 +02:00
pkgs,
lib,
...
}:
with lib; {
2021-11-25 22:03:04 +01:00
imports = [
../../options/copySysConf.nix
];
config.machine = {
allowUnfree = true;
hostName = "Marid";
2023-09-11 20:23:04 +02:00
administrators = [
{
name = "derped";
id = 1337;
}
];
2021-11-25 22:03:04 +01:00
conffiles = [
"etcfiles"
"etcvars"
"fonts"
"zsh"
];
pkgs = [
"base"
"dict"
"nodejs"
"emacs"
"emacs::company"
"emacs::docker"
"emacs::doom-modeline"
"emacs::doom-themes"
"emacs::elpy"
"emacs::fcitx"
"emacs::flycheck"
"emacs::flyspell"
"emacs::undo-tree"
"emacs::lsp"
"emacs::magit"
"emacs::mu4e"
"emacs::nix-mode"
"emacs::org"
"emacs::php-mode"
"emacs::web-mode"
2023-09-11 20:23:04 +02:00
"emacs::yasnippet"
2021-11-25 22:03:04 +01:00
"extra"
"mail_utils"
"python3"
"xpkgs"
];
services = [
"docker"
"desktop"
"desktop::i3"
2021-11-25 22:03:04 +01:00
"udev"
"fprintd"
];
firewall = {
enable = true;
allowPing = true;
2023-09-11 20:23:04 +02:00
allowedUDPPorts = [];
allowedTCPPorts = [];
allowedUDPPortRanges = [];
allowedTCPPortRanges = [];
2021-11-25 22:03:04 +01:00
};
};
config.system.copySysConf = {
enable = false;
addToNixPath = false;
};
}