fmt, no random mac for server
This commit is contained in:
parent
9c5d359ca9
commit
81b49aa923
4 changed files with 27 additions and 24 deletions
|
@ -1,30 +1,33 @@
|
|||
# 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" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "ehci_pci" "usbhid" "usb_storage" "sd_mod" "sr_mod"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-amd"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/f54eef44-4680-4537-9040-3a148ed61fab";
|
||||
fsType = "ext4";
|
||||
};
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/f54eef44-4680-4537-9040-3a148ed61fab";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/ECDF-096A";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/ECDF-096A";
|
||||
fsType = "vfat";
|
||||
options = ["fmask=0077" "dmask=0077"];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices = [];
|
||||
|
||||
# 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
|
||||
|
|
3
modules/common-desktop/mac.nix
Normal file
3
modules/common-desktop/mac.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
networking.networkmanager.wifi.macAddress = "random";
|
||||
}
|
|
@ -38,7 +38,7 @@
|
|||
systemd.tmpfiles.settings.vscodium = {
|
||||
# "/home/quadradical/.config/VSCodium/User"."d".user = "quadradical";
|
||||
"/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.debugSdkLibraries" = true;
|
||||
"redhat.telemetry.enabled" = false;
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
{
|
||||
networking.networkmanager = {
|
||||
enable = true;
|
||||
wifi.macAddress = "random";
|
||||
};
|
||||
networking.networkmanager.enable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue