a successful boot

This commit is contained in:
Aria Nolan 2023-09-17 11:46:22 -04:00
parent a6f2bf5617
commit 465f68f3c5
2 changed files with 13 additions and 6 deletions

View file

@ -12,9 +12,13 @@
]; ];
# Enable Flakes and the new command-line tool # Enable Flakes and the new command-line tool
nix.settings.experimental-features = [ "nix-command" "flakes" ]; # nix.settings.experimental-features = [ "nix-command" "flakes" ];
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot.loader.grub.efiSupport = true;
boot.loader.grub.device = "nodev";
boot.loader.grub.extraEntriesBeforeNixOS = true;
boot.loader.grub.extraEntries = '' boot.loader.grub.extraEntries = ''
menuentry "Void" { menuentry "Void" {
search --set=void --fs-uuid 987518fa-8ea0-49a6-b1e5-1fed4e4ae50f search --set=void --fs-uuid 987518fa-8ea0-49a6-b1e5-1fed4e4ae50f
@ -56,12 +60,14 @@
environment = { environment = {
systemPackages = with pkgs; [ systemPackages = with pkgs; [
vim vim
neovim.packages."${pkgs.system}".neovim # neovim.packages."${pkgs.system}".neovim
neovim
git git
wget wget
tmux tmux
river river
kitty kitty
firefox
]; ];
defaultPackages = with pkgs; [ defaultPackages = with pkgs; [
perl perl
@ -79,8 +85,8 @@
environment.variables.EDITOR = "nvim"; environment.variables.EDITOR = "nvim";
programs.firefox.package = pkgs.latest.firefox-wayland; # programs.firefox.package = pkgs.latest.firefox-wayland;
programs.firefox.enable = true; # programs.firefox.enable = true;
xdg.portal = { xdg.portal = {
enable = true; enable = true;

View file

@ -8,9 +8,10 @@
[ (modulesPath + "/installer/scan/not-detected.nix") [ (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "rtsx_pci_sdmmc" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt"
"rtsx_pci_sdmmc" "nvme"];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" "nvme" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =