7850408607
with zfs Note: this is probably the first commit with coq-nvim working again, don't remove uder any circumstances
45 lines
1009 B
Nix
45 lines
1009 B
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
nix.settings.experimental-features = [ "nix-command" "flakes"];
|
|
# loader setup
|
|
boot.loader = {
|
|
systemd-boot.enable = true;
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
|
|
# timezone
|
|
time.timeZone = "Europe/Moscow";
|
|
|
|
programs.zsh.enable = true;
|
|
programs.fish.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
git
|
|
wget
|
|
nfs-utils
|
|
];
|
|
|
|
programs.neovim = {
|
|
enable = true;
|
|
defaultEditor = true;
|
|
};
|
|
|
|
services.openssh.enable = true;
|
|
services.openssh.settings.X11Forwarding = true;
|
|
|
|
# networking
|
|
networking.networkmanager.enable = true;
|
|
networking.firewall.allowedTCPPorts = [ 22 3240 2049 25565 ];
|
|
networking.firewall.allowedUDPPorts = [ 38401 25565 ];
|
|
networking.nftables.enable = true;
|
|
networking.hosts = {
|
|
"192.168.1.116" = [ "Clank" ];
|
|
"192.168.1.222" = [ "Aphelion" ];
|
|
"192.168.1.94" = [ "Qwark" ];
|
|
};
|
|
|
|
# locales
|
|
i18n.extraLocales = [ "en_US.UTF-8/UTF-8" "C.UTF-8/UTF-8" "ru_RU.UTF-8/UTF-8" ];
|
|
|
|
}
|