minor updates

This commit is contained in:
aethrvmn 2024-09-04 00:38:12 +02:00
parent 295eaf15b0
commit cafcbae905
3 changed files with 9 additions and 12 deletions

View file

@ -8,32 +8,30 @@
[ (modulesPath + "/installer/scan/not-detected.nix") [ (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "rtsx_pci_sdmmc" ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_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/4f28915c-4f09-40d8-9c83-cd141be42049"; { device = "/dev/disk/by-uuid/fd82187c-9b44-41b3-af0e-04a3b103289f";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/efi" = fileSystems."/boot" =
{ device = "systemd-1"; { device = "/dev/disk/by-uuid/3FCB-66B2";
fsType = "autofs"; fsType = "vfat";
}; };
swapDevices = swapDevices = [ ];
[ { device = "/dev/disk/by-uuid/dbb604f4-ece2-404e-8aa8-936124e1aa08"; }
];
# 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
# still possible to use this option, but it's recommended to use it in conjunction # 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`. # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
# networking.interfaces.wg0.useDHCP = lib.mkDefault true; # networking.interfaces.enp42s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true; # networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;

View file

@ -40,7 +40,6 @@
eval "$(oh-my-posh init zsh --config /home/aethrvmn/.config/ohmyposh/config.json)" eval "$(oh-my-posh init zsh --config /home/aethrvmn/.config/ohmyposh/config.json)"
eval "$(atuin init zsh)" eval "$(atuin init zsh)"
eval "$(ssh-agent -s)" eval "$(ssh-agent -s)"
clear
''; '';
}; };

View file

@ -3,7 +3,7 @@
{ {
networking = { networking = {
hostName = "valaptop"; # Define your hostname. hostName = "valanixos"; # Define your hostname.
# Enables wireless support via wpa_supplicant. # Enables wireless support via wpa_supplicant.
# wireless.enable = true; # wireless.enable = true;