diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-06-13 20:08:28 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-06-13 20:08:28 +0530 |
| commit | 2ef439d8f512b7293e36ad85b4ffb9709f366dfb (patch) | |
| tree | 3edf6131d4d6eb67459d370f7a46b3272b1c9f59 /modules | |
| parent | 0500a7f5fd32e3c553269df42cf6a80368605cbf (diff) | |
Update
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/core/global.nix | 7 | ||||
| -rw-r--r-- | modules/virtualization.nix | 28 |
2 files changed, 20 insertions, 15 deletions
diff --git a/modules/core/global.nix b/modules/core/global.nix index 6fd97bb..f44855d 100644 --- a/modules/core/global.nix +++ b/modules/core/global.nix @@ -11,12 +11,17 @@ in { nixPath = [ "nixpkgs=${nix_path}" ]; }; - boot.kernelPackages = pkgs.linuxPackages_latest; + boot.kernelPackages = pkgs.linuxPackages_zen; systemd.tmpfiles.rules = [ "L+ ${nix_path} - - - - ${pkgs.path}" ]; + environment.systemPackages = with pkgs; [ + man-pages + man-pages-posix + ]; + time.timeZone = "Asia/Kolkata"; networking.networkmanager.enable = true; diff --git a/modules/virtualization.nix b/modules/virtualization.nix index 17b5a36..b1c42dd 100644 --- a/modules/virtualization.nix +++ b/modules/virtualization.nix @@ -45,18 +45,18 @@ '') ]; - boot.kernelPatches = [ - { - # https://github.com/Kinsteen/win10-gpu-passthrough/blob/main/pat_patch.diff - name = "disable-pat-check"; - patch = ../dist/disable-pat-check.patch; - } - { - # https://aur.archlinux.org/cgit/aur.git/tree/1001-6.8.0-add-acs-overrides.patch?h=linux-vfio - name = "acso"; - patch = ../dist/acso.patch; - } - ]; - - boot.kernelParams = [ "skippatcheck" "pcie_acs_override=downstream,multifunction" ]; + # boot.kernelPatches = [ + # { + # # https://github.com/Kinsteen/win10-gpu-passthrough/blob/main/pat_patch.diff + # name = "disable-pat-check"; + # patch = ../dist/disable-pat-check.patch; + # } + # { + # # https://aur.archlinux.org/cgit/aur.git/tree/1001-6.8.0-add-acs-overrides.patch?h=linux-vfio + # name = "acso"; + # patch = ../dist/acso.patch; + # } + # ]; + + boot.kernelParams = [ /* "skippatcheck" */ "pcie_acs_override=downstream,multifunction" ]; } |
