2019-03-17 11:43:14 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
2019-02-26 13:44:40 +01:00
|
|
|
{
|
2019-03-20 02:57:59 +01:00
|
|
|
imports = [
|
|
|
|
../../options/machine.nix
|
|
|
|
./Lilim.nix
|
|
|
|
];
|
2019-03-17 11:43:14 +01:00
|
|
|
|
|
|
|
config.machine = {
|
2019-03-20 02:57:59 +01:00
|
|
|
allowUnfree = true;
|
|
|
|
hostName = "Lilim";
|
|
|
|
conffiles = [
|
|
|
|
"etcfiles"
|
|
|
|
"etcvars"
|
|
|
|
"fonts"
|
|
|
|
"zsh"
|
|
|
|
];
|
2019-03-17 11:43:14 +01:00
|
|
|
pkgs = [
|
|
|
|
"base"
|
|
|
|
"dict"
|
|
|
|
"emacs"
|
|
|
|
"extra"
|
|
|
|
"cpp"
|
|
|
|
"haskell"
|
|
|
|
"mailutils"
|
|
|
|
"python3"
|
|
|
|
"rustpkgs"
|
|
|
|
"xpkgs"
|
|
|
|
];
|
|
|
|
services = [
|
2019-03-20 02:57:59 +01:00
|
|
|
"xserver"
|
|
|
|
"docker"
|
|
|
|
"udev"
|
|
|
|
"cups"
|
2019-03-17 11:43:14 +01:00
|
|
|
];
|
|
|
|
firewall = {
|
|
|
|
allowPing = true;
|
|
|
|
allowedUDPPorts = [];
|
|
|
|
allowedTCPPorts = [];
|
|
|
|
allowedUDPPortRanges = [ { from = 1714; to = 1764; } ];
|
|
|
|
allowedTCPPortRanges = [ { from = 1714; to = 1764; } ];
|
2019-02-26 13:44:40 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|