fixes
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
User = "root";
|
||||
WorkingDirectory = "/etc/nixos";
|
||||
WorkingDirectory = "/etc/commonscomputing-nix";
|
||||
};
|
||||
|
||||
script = ''
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user