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
+1 -1
View File
@@ -8,7 +8,7 @@
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
User = "root"; User = "root";
WorkingDirectory = "/etc/nixos"; WorkingDirectory = "/etc/commonscomputing-nix";
}; };
script = '' script = ''
+5 -19
View File
@@ -1,37 +1,23 @@
# Edit this configuration file to define what should be installed on # Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs }: { config, pkgs, ... }:
{ {
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
# ./atproto.nix ./atproto.nix
./auto-update.nix ./auto-update.nix
./dns.nix #./dns.nix
]; ];
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "asusmininix"; # Define your hostname. networking.hostName = "asusmininix";
networking.networkmanager.enable = true;
# 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;
# Tailscale # Tailscale
services.tailscale.enable = true; services.tailscale.enable = true;