nixos/machines/Lilim/options.nix

76 lines
1.4 KiB
Nix

{ pkgs, lib, ... }:
with lib;
{
imports = [
../../options/copySysConf.nix
];
config.machine = {
allowUnfree = true;
hostName = "Lilim";
useNetworkd = true;
administrators = [ { name = "derped"; id = 1337; } ];
conffiles = [
"etcfiles"
"etcvars"
"fonts"
"zsh"
];
pkgs = [
"base"
"cpp"
"dict"
"nodejs"
"latex"
"emacs"
"emacs::company"
"emacs::direnv"
"emacs::doom-modeline"
"emacs::doom-themes"
"emacs::elpy"
"emacs::flycheck"
"emacs::flyspell"
"emacs::latex"
"emacs::lsp"
"emacs::magit"
"emacs::mu4e"
"emacs::elfeed"
"emacs::nix-mode"
"emacs::org"
"emacs::transmission"
"emacs::web-mode"
"emacs::yaml-mode"
"emacs::yasnippet"
"extra"
"haskell"
"mail_utils"
"python3"
"xpkgs"
];
services = [
"bind"
"desktop"
"udev"
"cups"
"mullvad"
"mariaDB"
"nspawn"
"docker"
];
firewall = {
enable = true;
allowPing = true;
allowedUDPPorts = [ 24642 ];
allowedTCPPorts = [ 24642 ];
allowedUDPPortRanges = [ { from = 1714; to = 1764; } ];
allowedTCPPortRanges = [ { from = 1714; to = 1764; } ];
};
desktop.wms = [ "none+i3" "i3" ];
};
config.system.copySysConf = {
enable = false;
addToNixPath = false;
};
}