This commit is contained in:
Anish Lakhwara
2025-10-17 08:04:49 -07:00
parent 415d1d9f0e
commit 27a16530ca
2 changed files with 6 additions and 20 deletions
+5 -19
View File
@@ -1,37 +1,23 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs }:
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
# ./atproto.nix
./atproto.nix
./auto-update.nix
./dns.nix
#./dns.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "asusmininix"; # Define your hostname.
# Static IP configuration
# TODO(anish): Replace with actual static IP once VLAN is configured
# networking.interfaces.eth0 = {
# useDHCP = false;
# ipv4.addresses = [{
# address = ""; # something like "192.168.1.100"
# prefixLength = 24; # e.g., 24 for /24 subnet
# }];
# };
# networking.defaultGateway = ""; # e.g., "192.168.1.1"
# networking.nameservers = [ "" "" ]; # e.g., "1.1.1.1" "8.8.8.8"
# Disable NetworkManager when using static IP
# networking.networkmanager.enable = true;
networking.hostName = "asusmininix";
networking.networkmanager.enable = true;
# Tailscale
services.tailscale.enable = true;