compat: update nixos options

This commit is contained in:
Kiana Sheibani 2026-01-29 20:33:35 -05:00
parent 3b4a6dee11
commit 6b2461e63a
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
2 changed files with 5 additions and 5 deletions

View file

@ -4,13 +4,12 @@
[ (modulesPath + "/installer/scan/not-detected.nix") [ (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.loader.grub.useOSProber = true;
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
hardware.enableAllFirmware = true; hardware.enableAllFirmware = true;
hardware.microsoft-surface.kernelVersion = "stable"; hardware.microsoft-surface.kernelVersion = "stable";
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
@ -32,5 +31,4 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
virtualisation.hypervGuest.enable = true;
} }

View file

@ -1,5 +1,7 @@
{ pkgs, lib, quickshell-toki-night, ... }: { pkgs, lib, quickshell-toki-night, ... }:
{ let
quickshell = quickshell-toki-night.packages.${pkgs.stdenv.hostPlatform.system}.default;
in {
systemd.user.services.quickshell = { systemd.user.services.quickshell = {
Install.WantedBy = [ "graphical-session.target" ]; Install.WantedBy = [ "graphical-session.target" ];
@ -10,6 +12,6 @@
PartOf = [ "graphical-session.target" ]; PartOf = [ "graphical-session.target" ];
}; };
Service.ExecStart = lib.getExe quickshell-toki-night.packages.${pkgs.system}.default; Service.ExecStart = lib.getExe quickshell;
}; };
} }