1
1
Fork 0
nixos-configs/configuration.nix

70 lines
3.6 KiB
Nix

{ pkgs, lib, ... }:
{
# Work-around for running out of space on /boot
disabledModules = [ "system/boot/loader/raspberrypi/raspberrypi.nix" ];
imports = [
./modules/system/boot/loader/raspberrypi/raspberrypi.nix
./hardware-configuration.nix
./inquisitor.nix
];
nix.maxJobs = 2;
console = {
font = "sun12x22";
keyMap = "us";
};
i18n = {
defaultLocale = "en_US.UTF-8";
};
time.timeZone = "America/Los_Angeles";
# Hostname, host ID, etc. Note that a host ID (chosen 32-bit integer) is necessary for ZFS.
networking = {
hostName = "conduit";
hostId = "758371f0";
firewall = {
enable = true;
allowedTCPPorts = [ 22 ];
};
};
security = {
hideProcessInformation = true;
};
environment.systemPackages = with pkgs;
[
wget vimHugeX curl git htop tmux manpages
zip unzip
tinc_pre
];
# SSH config. Change passwordAuthentication if you want to log in with a password.
services.openssh = {
enable = true;
passwordAuthentication = false;
permitRootLogin = "prohibit-password";
forwardX11 = true;
};
services.tinc.networks.beatific = {
listenAddress = "0.0.0.0";
chroot = false;
};
users = {
users.tvb = {
uid = 1000;
isNormalUser = true;
extraGroups = ["wheel" "audio" "tty"];
openssh.authorizedKeys.keys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDCKsKkD9S2gRlRgdf3JD06dRTGUQkDgBMWn+2kqVEPA/K1W/f083+odyXLVeg4IWV/fOwVKBgi9YNTavM8hkKRDGElkVq6Y8slApgu1k51QiKvAqqj4yJKE28pMCeHGGfTBdXbaRAaAfsD7Oh7dHOoadBIxUcq4RjN84+srhR2/p7xN+5rlp/uljU85uPA6JhW4tFEjsAQPUBnlI2EMf6SjKScuYsf5kiyE740NxPPpFSaKIU09dR/oR/nXORqOTzJbWC5tRlpeRFrKDrTeoAZnsl+vjqtVjJRIVjJoON50u3W9qfFKcPcfgtqUbpi1D8Xk8cibGo/0I8ruIwuZrD4Q9v1zGUGbXnAVwoJ5Yn8uVcHnFCbqndN+bDA5M0Fe7zLk6/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