nixos/machines/Lilim/configuration.nix

39 lines
734 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
2019-02-26 13:44:40 +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;
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
};
};
}