Added a vim config and put everything in my prefered indentation style.

This commit is contained in:
2025-10-12 11:44:48 -05:00
parent 89c9bd4996
commit 9cb89b9aeb
12 changed files with 509 additions and 270 deletions

View File

@@ -4,17 +4,17 @@
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ "nvidia" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [
config.boot.kernelPackages.nvidiaPackages.stable
];
];
hardware.graphics = {
hardware.graphics = {
enable = true;
enable32Bit = true;
};
@@ -29,29 +29,29 @@ hardware.graphics = {
fileSystems."/" =
{ device = "/dev/disk/by-uuid/8279665b-b695-4747-9206-9cc06b7fe303";
fsType = "btrfs";
options = [ "subvol=@" ];
};
fileSystems."/" =
{ device = "/dev/disk/by-uuid/8279665b-b695-4747-9206-9cc06b7fe303";
fsType = "btrfs";
options = [ "subvol=@" ];
};
boot.initrd.luks.devices."luks-8573b24b-461f-40bf-b16b-9de1207c0696".device = "/dev/disk/by-uuid/8573b24b-461f-40bf-b16b-9de1207c0696";
boot.initrd.luks.devices."luks-8573b24b-461f-40bf-b16b-9de1207c0696".device = "/dev/disk/by-uuid/8573b24b-461f-40bf-b16b-9de1207c0696";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/383D-97DA";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/383D-97DA";
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
# 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.enp42s0.useDHCP = lib.mkDefault true;
# 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.enp42s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}