2019-09-23 04:09:01 +02:00
|
|
|
{ lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../../options/machine.nix
|
|
|
|
../../options/copySysConf.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
config.machine = {
|
|
|
|
allowUnfree = true;
|
|
|
|
hostName = "Behemoth";
|
|
|
|
administrators = [ { name = "derped"; id = 1337; } ];
|
|
|
|
conffiles = [
|
|
|
|
"etcfiles"
|
|
|
|
"etcvars"
|
|
|
|
"fonts"
|
|
|
|
"zsh"
|
|
|
|
];
|
|
|
|
pkgs = [
|
|
|
|
"base"
|
|
|
|
"dict"
|
|
|
|
"emacs"
|
|
|
|
"extra"
|
|
|
|
"cpp"
|
|
|
|
"haskell"
|
2019-10-11 20:51:46 +02:00
|
|
|
"mail_utils"
|
2019-09-23 04:09:01 +02:00
|
|
|
"python3"
|
|
|
|
"rustpkgs"
|
|
|
|
"xpkgs"
|
|
|
|
];
|
|
|
|
services = [
|
|
|
|
"desktop"
|
|
|
|
"udev"
|
|
|
|
"cups"
|
|
|
|
];
|
|
|
|
firewall = {
|
|
|
|
enable = true;
|
|
|
|
allowPing = true;
|
|
|
|
allowedUDPPortRanges = [ { from = 1714; to = 1764; } ];
|
|
|
|
allowedTCPPortRanges = [ { from = 1714; to = 1764; } ];
|
|
|
|
};
|
|
|
|
desktop.wms = [ "i3" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
config.system.copySysConf = {
|
|
|
|
enable = false;
|
|
|
|
addToNixPath = false;
|
|
|
|
};
|
|
|
|
}
|