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

View file

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

View file

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