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