{ config, pkgs, lib, ... }: { imports = [ (fetchTarball "https://github.com/msteen/nixos-vscode-server/tarball/master") ]; environment.shells = with pkgs; [ bashInteractive zsh ]; services = { vscode-server.enable = true; openssh = { enable = true; permitRootLogin = "no"; passwordAuthentication = false; openFirewall = true; }; nextdns = { enable = true; arguments = [ "-config" "aaa56c" "-cache-size" "10MB" "-listen" "127.0.0.1:53" "-report-client-info" ]; }; fwupd.enable = true; }; networking = { nameservers = [ "127.0.0.1" "::1" ]; # If using dhcpcd: dhcpcd.extraConfig = "nohook resolv.conf"; # If using NetworkManager: networkmanager.dns = "none"; }; environment.systemPackages = with pkgs; [ ack atop borgbackup bpytop broot btrfs-progs bwm_ng cargo dfc exa ffmpeg git git-secrets glances gnupg gocryptfs home-manager htop inxi iotop kubectl lm_sensors lsd lsof manpages ncdu neofetch nmap nodejs pciutils pstree ruby sshfs tealdeer tree unzip usbutils wget youtube-dl zsh ]; documentation.enable = false; nix.autoOptimiseStore = true; boot = { tmpOnTmpfs = true; kernelParams = [ "quiet" ]; consoleLogLevel = 0; kernel.sysctl = { "vm.max_map_count" = 262144; }; }; nix.gc = { automatic = true; dates = "weekly"; options = "--delete-older-than 30d"; }; }