nixos/machines/Lilim/options.nix

76 lines
1.4 KiB
Nix
Raw Normal View History

{ pkgs, lib, ... }:
with lib;
{
imports = [
2019-04-18 07:40:47 +02:00
../../options/copySysConf.nix
];
config.machine = {
allowUnfree = true;
hostName = "Lilim";
2023-01-29 14:35:38 +01:00
useNetworkd = true;
administrators = [ { name = "derped"; id = 1337; } { name = "testy"; id = 1338; } ];
conffiles = [
"etcfiles"
"etcvars"
"fonts"
"zsh"
];
pkgs = [
"base"
"cpp"
"dict"
2023-01-29 14:35:38 +01:00
"nodejs"
"latex"
"emacs"
"emacs::company"
2023-01-29 14:35:38 +01:00
"emacs::direnv"
"emacs::doom-modeline"
"emacs::doom-themes"
"emacs::elpy"
"emacs::flycheck"
"emacs::flyspell"
"emacs::latex"
"emacs::lsp"
"emacs::magit"
2019-12-18 09:48:37 +01:00
"emacs::mu4e"
2023-01-29 14:35:38 +01:00
"emacs::elfeed"
"emacs::nix-mode"
"emacs::org"
2019-12-18 09:48:37 +01:00
"emacs::transmission"
"emacs::web-mode"
"emacs::yasnippet"
"extra"
"haskell"
"mail_utils"
"python3"
"xpkgs"
];
services = [
2023-01-29 14:35:38 +01:00
"bind"
"desktop"
"udev"
"cups"
2023-01-29 14:35:38 +01:00
"mullvad"
"mariaDB"
"nspawn"
"docker"
];
firewall = {
enable = true;
allowPing = true;
allowedUDPPorts = [ 24642 ];
allowedTCPPorts = [ 24642 ];
allowedUDPPortRanges = [ { from = 1714; to = 1764; } ];
allowedTCPPortRanges = [ { from = 1714; to = 1764; } ];
};
2019-12-26 01:00:46 +01:00
desktop.wms = [ "none+i3" "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;
};
}