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,30 +1,33 @@
# 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"];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [];
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"];
}; };
swapDevices = [ ]; swapDevices = [];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's

View file

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

View file

@ -38,7 +38,7 @@
systemd.tmpfiles.settings.vscodium = { systemd.tmpfiles.settings.vscodium = {
# "/home/quadradical/.config/VSCodium/User"."d".user = "quadradical"; # "/home/quadradical/.config/VSCodium/User"."d".user = "quadradical";
"/home/quadradical/.config/VSCodium/User/settings.json"."f+".argument = builtins.toJSON { "/home/quadradical/.config/VSCodium/User/settings.json"."f+".argument = builtins.toJSON {
"arb-editor.suppressedWarnings"= ["missing_metadata_for_key"]; "arb-editor.suppressedWarnings" = ["missing_metadata_for_key"];
"dart.debugExternalPackageLibraries" = true; "dart.debugExternalPackageLibraries" = true;
"dart.debugSdkLibraries" = true; "dart.debugSdkLibraries" = true;
"redhat.telemetry.enabled" = false; "redhat.telemetry.enabled" = false;

View file

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