{ config, pkgs, ... }: { imports = [ ./ymir-hw.nix ./custom/zsh.nix ./users.nix ]; boot.loader.grub = { enable = true; version = 2; device = "/dev/disk/by-label/ymir-boot"; }; networking.hostName = "ymir"; networking.hostId = "1c5c994e"; environment.systemPackages = with pkgs; [ git mosh rsync tmux zsh ]; # List services that you want to enable: services.openssh = { enable = true; }; services.fcron = { enable = true; systab = '' %weekly * * nix-collect-garbage --delete-older-than '7d' ''; }; networking.firewall = { enable = true; allowPing = true; allowedTCPPorts = [ 22 ]; allowedUDPPortRanges = [ { from = 60000; to = 61000; } # mosh ]; }; services.ntp = { enable = false; }; services.chrony = { enable = true; }; users.extraUsers.root = let template = (import users/gkleen.nix); in { inherit (template) shell; openssh.authorizedKeys.keyFiles = template.openssh.authorizedKeys.keyFiles; }; }