clean up move fast break shit comments

This commit is contained in:
Steven 2023-03-26 21:05:02 -04:00
parent cc8abdbd3c
commit 1a749c0278
7 changed files with 13 additions and 94 deletions

View file

@ -31,10 +31,6 @@
disko.devices = import ../modules/disko/luks-lvm.nix {
disks = [ "/dev/nvme0n1" ];
};
# 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
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";

View file

@ -19,14 +19,7 @@
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
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.docker0.useDHCP = lib.mkDefault true;
# networking.interfaces.enp6s18.useDHCP = lib.mkDefault true;
# networking.interfaces.tailscale0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
@ -40,24 +33,11 @@
};
extraModulePackages = [ ];
loader = {
# systemd-boot.enable = true;
grub = {
# Even if there is a separate no-fs partition ("/dev/disk/by-partlabel/no-fs" i.e. "/dev/vda2"),
# which will be used the bootloader, do not set it as loader.grub.device.
# GRUB installation fails, unless the whole disk is selected.
device = "/dev/vda";
};
timeout = 0;
};
};
# fileSystems."/" = {
# device = "/dev/disk/by-label/nixos";
# autoResize = true;
# fsType = "ext4";
# };
# fileSystems."/boot" = lib.mkIf hasBootPartition {
# device = "/dev/disk/by-label/ESP";
# fsType = "vfat";
# };
services.qemuGuest.enable = lib.mkDefault true;
}