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