Files
nix-stuff/lp0/default.nix
Shelvacu a8885289c8 wip
2024-05-31 14:39:56 -07:00

77 lines
1.9 KiB
Nix
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ config, pkgs, ... }:
{
imports = [
../common-nixos-config.nix
./hardware-config.nix
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "lp0onfire"; # Define your hostname.
# Set your time zone.
time.timeZone = "America/Los_Angeles";
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
nano
vim
wget
screen
lsof
htop
mosh
dnsutils
iperf3
nmap
rsync
ethtool
sshfs
ddrescue
pciutils
ncdu
nix-index
git
];
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "22.05"; # Did you read the comment?
services.openssh.enable = true;
# system.autoUpgrade.enable = true;
# system.autoUpgrade.allowReboot = true;
# system.autoUpgrade.channel = https://nixos.org/channels/nixos-22.05-small;
nixpkgs.config.allowUnfree = true;
services.zerotierone = {
enable = true;
joinNetworks = [ "1d719394047b32ae" ];
};
#opens udp ports for mosh
programs.mosh.enable = true;
# Disable wifi card; This is sitting directly under a router and I don't want to cause interference.
boot.blacklistedKernelModules = [ "iwlwifi" ];
# networking.nat = {
# enable = true;
# externalInterface = "enp2s0";
# internalIPs = [ "192.168.192.0/24" ];
# internalInterfaces = [ "ztrf26rjvk" ];
# };
}