From 27a16530ca18182ef1431a61b56f647f1a6117d0 Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Fri, 17 Oct 2025 08:04:49 -0700 Subject: [PATCH] fixes --- hosts/asusmini/auto-update.nix | 2 +- hosts/asusmini/default.nix | 24 +++++------------------- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/hosts/asusmini/auto-update.nix b/hosts/asusmini/auto-update.nix index 98b6903..0efa4db 100644 --- a/hosts/asusmini/auto-update.nix +++ b/hosts/asusmini/auto-update.nix @@ -8,7 +8,7 @@ serviceConfig = { Type = "oneshot"; User = "root"; - WorkingDirectory = "/etc/nixos"; + WorkingDirectory = "/etc/commonscomputing-nix"; }; script = '' diff --git a/hosts/asusmini/default.nix b/hosts/asusmini/default.nix index 74bb4f8..64b9111 100644 --- a/hosts/asusmini/default.nix +++ b/hosts/asusmini/default.nix @@ -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;