diff options
Diffstat (limited to '')
| -rw-r--r-- | flake.lock | 12 | ||||
| -rw-r--r-- | machines/x/home.nix | 2 | ||||
| -rw-r--r-- | modules/core/global.nix | 7 | ||||
| -rw-r--r-- | modules/virtualization.nix | 28 | 
4 files changed, 27 insertions, 22 deletions
| @@ -7,11 +7,11 @@          ]        },        "locked": { -        "lastModified": 1717525419, -        "narHash": "sha256-5z2422pzWnPXHgq2ms8lcCfttM0dz+hg+x1pCcNkAws=", +        "lastModified": 1717931644, +        "narHash": "sha256-Sz8Wh9cAiD5FhL8UWvZxBfnvxETSCVZlqWSYWaCPyu0=",          "owner": "nix-community",          "repo": "home-manager", -        "rev": "a7117efb3725e6197dd95424136f79147aa35e5b", +        "rev": "3d65009effd77cb0d6e7520b68b039836a7606cf",          "type": "github"        },        "original": { @@ -22,11 +22,11 @@      },      "nixpkgs": {        "locked": { -        "lastModified": 1717602782, -        "narHash": "sha256-pL9jeus5QpX5R+9rsp3hhZ+uplVHscNJh8n8VpqscM0=", +        "lastModified": 1717786204, +        "narHash": "sha256-4q0s6m0GUcN7q+Y2DqD27iLvbcd1G50T2lv08kKxkSI=",          "owner": "nixos",          "repo": "nixpkgs", -        "rev": "e8057b67ebf307f01bdcc8fba94d94f75039d1f6", +        "rev": "051f920625ab5aabe37c920346e3e69d7d34400e",          "type": "github"        },        "original": { diff --git a/machines/x/home.nix b/machines/x/home.nix index 114faef..f1008bb 100644 --- a/machines/x/home.nix +++ b/machines/x/home.nix @@ -32,7 +32,7 @@ in {      wl-clipboard      ccls -    nodePackages.pyright +    pyright      git-lfs    ] ++ [ tlauncher ]; 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" ];  } | 
