nixos/machines/Lilim/options.nix
2019-04-18 07:40:47 +02:00

52 lines
866 B
Nix

{ config, lib, pkgs, ... }:
with lib;
{
imports = [
../../options/machine.nix
../../options/copySysConf.nix
];
config.machine = {
allowUnfree = true;
hostName = "Lilim";
conffiles = [
"etcfiles"
"etcvars"
"fonts"
"zsh"
];
pkgs = [
"base"
"dict"
"emacs"
"extra"
"cpp"
"haskell"
"mailutils"
"python3"
"rustpkgs"
"xpkgs"
];
services = [
"containers"
"xserver"
"docker"
"udev"
"cups"
];
firewall = {
allowPing = true;
allowedUDPPorts = [];
allowedTCPPorts = [];
allowedUDPPortRanges = [ { from = 1714; to = 1764; } ];
allowedTCPPortRanges = [ { from = 1714; to = 1764; } ];
};
};
config.system.copySysConf = {
enable = true;
addToNixPath = false;
};
}