47 lines
751 B
Nix
47 lines
751 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
imports = [
|
||
|
../../options/machine.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; } ];
|
||
|
};
|
||
|
};
|
||
|
}
|