add: cachyos kernel, fixes

This commit is contained in:
elwrcl committed 2026-04-01 18:41:30 +03:00
1 parent 6fc21e1c27
commit 9c3140a764
4 files changed
+28 -16

No files matched your search

Generated
+9 -9
View File
@@ -149,11 +149,11 @@
]
},
"locked": {
"lastModified": 1774738535,
"narHash": "sha256-2jfBEZUC67IlnxO5KItFCAd7Oc+1TvyV/jQlR+2ykGQ=",
"lastModified": 1774969509,
"narHash": "sha256-LCmfWlT3tlGVj0Q20TKqs5PBwdH3vnNsxJEhqt0wH1o=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "769e07ef8f4cf7b1ec3b96ef015abec9bc6b1e2a",
"rev": "a7d2aca3f0dd952b01d8ed5c45536b40af3841eb",
"type": "github"
},
"original": {
@@ -246,11 +246,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1774386573,
"narHash": "sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc=",
"lastModified": 1774709303,
"narHash": "sha256-D3Q07BbIA2KnTcSXIqqu9P586uWxN74zNoCH3h2ESHg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9",
"rev": "8110df5ad7abf5d4c0f6fb0f8f978390e77f9685",
"type": "github"
},
"original": {
@@ -424,11 +424,11 @@
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1774708879,
"narHash": "sha256-rTYvYkQL69/YkZB+MRA/IaX1qJ1lPx5KXoQS2/9+7Mw=",
"lastModified": 1774848370,
"narHash": "sha256-Esm+aiabP563BcUFfFUCIOlFaTxKUXPp6jw0LMAV7ik=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "d01d23c798cceef42307d5789bfbce70515e8800",
"rev": "712c476500e96df74276be99bb3fa9631f494f3a",
"type": "github"
},
"original": {
+14 -2
View File
@@ -3,7 +3,9 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
zen-browser.url = "github:0xc000022070/zen-browser-flake";
home-manager = {
@@ -25,17 +27,27 @@
outputs = inputs@{ self, nixpkgs, chaotic, home-manager, ... }:
let
system = "x86_64-linux";
chaoticOverlay = chaotic.overlays.default;
in {
nixosConfigurations = {
copland = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs system; zen-browser = inputs.zen-browser; };
specialArgs = {
inherit inputs system;
zen-browser = inputs.zen-browser;
};
modules = [
chaotic.nixosModules.default
home-manager.nixosModules.home-manager
{ nixpkgs.config.allowUnfree = true; }
{
nixpkgs.overlays = [ chaoticOverlay ];
nixpkgs.config.allowUnfree = true;
}
{
home-manager = {
+4 -4
View File
@@ -1,22 +1,22 @@
{ config, pkgs, ... }:
{
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelPackages = pkgs.linuxPackages_cachyos-lto;
boot.kernelParams = [
"i915.enable_guc=2" #make your own params this is for hd4k
"preempt=full"
"i915.enable_guc=2"
"i915.fastboot=1"
"mitigations=off"
"usbcore.autosuspend=-1"
];
boot.loader = {
timeout = 5;
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
systemd-boot = {
enable = true;
configurationLimit = 15;
+1 -1
View File
@@ -1,5 +1,5 @@
{ config, pkgs, ... }:
{
virtualisation.vmware.host.enable = true;
virtualisation.vmware.host.enable = false;
}