2019-05-09 18:28:40 +02:00
|
|
|
{ lib, ... }:
|
2019-03-23 02:50:48 +01:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../../options/machine.nix
|
2019-04-18 07:40:47 +02:00
|
|
|
../../options/copySysConf.nix
|
2019-03-23 02:50:48 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
config.machine = {
|
|
|
|
allowUnfree = true;
|
|
|
|
hostName = "Lilim";
|
2019-04-13 00:05:39 +02:00
|
|
|
administrators = [ { name = "derped"; id = 1337; } ];
|
2019-03-23 02:50:48 +01:00
|
|
|
conffiles = [
|
|
|
|
"etcfiles"
|
|
|
|
"etcvars"
|
|
|
|
"fonts"
|
|
|
|
"zsh"
|
|
|
|
];
|
|
|
|
pkgs = [
|
|
|
|
"base"
|
|
|
|
"dict"
|
|
|
|
"emacs"
|
|
|
|
"extra"
|
|
|
|
"cpp"
|
|
|
|
"haskell"
|
|
|
|
"mailutils"
|
|
|
|
"python3"
|
|
|
|
"rustpkgs"
|
|
|
|
"xpkgs"
|
|
|
|
];
|
|
|
|
services = [
|
2019-05-04 13:47:21 +02:00
|
|
|
"desktop"
|
2019-03-23 02:50:48 +01:00
|
|
|
"udev"
|
|
|
|
"cups"
|
|
|
|
];
|
|
|
|
firewall = {
|
|
|
|
allowPing = true;
|
|
|
|
allowedUDPPorts = [];
|
|
|
|
allowedTCPPorts = [];
|
|
|
|
allowedUDPPortRanges = [ { from = 1714; to = 1764; } ];
|
|
|
|
allowedTCPPortRanges = [ { from = 1714; to = 1764; } ];
|
|
|
|
};
|
2019-05-04 13:47:21 +02:00
|
|
|
desktop.wms = [ "i3" ];
|
2019-03-23 02:50:48 +01:00
|
|
|
};
|
2019-04-18 07:40:47 +02:00
|
|
|
|
|
|
|
config.system.copySysConf = {
|
|
|
|
enable = true;
|
|
|
|
addToNixPath = false;
|
|
|
|
};
|
2019-03-23 02:50:48 +01:00
|
|
|
}
|