fmt, no random mac for server

This commit is contained in:
Henry Hiles 2025-03-22 20:57:04 -04:00
parent 9c5d359ca9
commit 81b49aa923
4 changed files with 27 additions and 24 deletions

View file

@ -1,11 +1,14 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
config,
lib,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "ehci_pci" "usbhid" "usb_storage" "sd_mod" "sr_mod"];
@ -13,13 +16,13 @@
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/f54eef44-4680-4537-9040-3a148ed61fab";
fileSystems."/" = {
device = "/dev/disk/by-uuid/f54eef44-4680-4537-9040-3a148ed61fab";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/ECDF-096A";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/ECDF-096A";
fsType = "vfat";
options = ["fmask=0077" "dmask=0077"];
};

View file

@ -0,0 +1,3 @@
{
networking.networkmanager.wifi.macAddress = "random";
}

View file

@ -1,6 +1,3 @@
{
networking.networkmanager = {
enable = true;
wifi.macAddress = "random";
};
networking.networkmanager.enable = true;
}