nixos/machines/Lilim/options.nix

68 lines
1.3 KiB
Nix
Raw Normal View History

{ pkgs, lib, ... }:
with lib;
{
imports = [
../../options/machine.nix
2019-04-18 07:40:47 +02:00
../../options/copySysConf.nix
];
config.machine = {
allowUnfree = true;
hostName = "Lilim";
2019-04-13 00:05:39 +02:00
administrators = [ { name = "derped"; id = 1337; } ];
conffiles = [
"etcfiles"
"etcvars"
"fonts"
"zsh"
];
pkgs = [
"base"
"dict"
"emacs"
"emacs::doom-themes"
"emacs::doom-modeline"
# "emacs::solarized-theme"
"emacs::company"
"emacs::flyspell"
"emacs::flycheck"
# "emacs::powerline"
"emacs::nix-mode"
"emacs::magit"
2019-12-18 09:48:37 +01:00
"emacs::mu4e"
"emacs::org"
"emacs::elpy"
2019-12-18 09:48:37 +01:00
"emacs::transmission"
# "emacs::rust"
2019-12-18 09:48:37 +01:00
# "emacs::lsp"
"extra"
"cpp"
"haskell"
"mail_utils"
"python3"
"rustpkgs"
"xpkgs"
];
services = [
"desktop"
"udev"
"cups"
];
firewall = {
enable = true;
allowPing = true;
allowedUDPPorts = [ 24642 ];
allowedTCPPorts = [ 24642 ];
allowedUDPPortRanges = [ { from = 1714; to = 1764; } ];
allowedTCPPortRanges = [ { from = 1714; to = 1764; } ];
};
desktop.wms = [ "i3" ];
};
2019-04-18 07:40:47 +02:00
config.system.copySysConf = {
2019-09-29 08:09:26 +02:00
enable = false;
2019-04-18 07:40:47 +02:00
addToNixPath = false;
};
}