mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-11 07:49:24 +08:00
flake: remove linux-asus patch
This commit is contained in:
18
flake.lock
generated
18
flake.lock
generated
@@ -553,23 +553,6 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"linux-asus": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1763490343,
|
||||
"narHash": "sha256-aiCPWxyVBNfqB8Gw9OwrrEP3c+liUBZbEW6aTIrd+TE=",
|
||||
"owner": "asus-linux",
|
||||
"repo": "linux-g14",
|
||||
"rev": "29faef816326f31b4d9d3e19c1f9a8ffe9005e8a",
|
||||
"type": "gitlab"
|
||||
},
|
||||
"original": {
|
||||
"owner": "asus-linux",
|
||||
"ref": "6.17",
|
||||
"repo": "linux-g14",
|
||||
"type": "gitlab"
|
||||
}
|
||||
},
|
||||
"mac-style": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
@@ -1269,7 +1252,6 @@
|
||||
"home-manager": "home-manager",
|
||||
"impermanence": "impermanence",
|
||||
"lepton": "lepton",
|
||||
"linux-asus": "linux-asus",
|
||||
"mac-style": "mac-style",
|
||||
"matplotplusplus": "matplotplusplus",
|
||||
"mirism-old": "mirism-old",
|
||||
|
||||
@@ -68,7 +68,6 @@
|
||||
pybinding = { url = "git+https://github.com/dean0x7d/pybinding?submodules=1"; flake = false; };
|
||||
brokenaxes = { url = "github:bendichter/brokenaxes"; flake = false; };
|
||||
mirism-old = { url = "github:CHN-beta/mirism-old-public"; flake = false; };
|
||||
linux-asus = { url = "gitlab:asus-linux/linux-g14/6.17"; flake = false; };
|
||||
};
|
||||
|
||||
outputs = inputs: let localLib = import ./flake/lib inputs.nixpkgs.lib; in
|
||||
|
||||
@@ -10,6 +10,5 @@ inputs:
|
||||
supergfxd.enable = false;
|
||||
};
|
||||
programs.rog-control-center = { enable = true; autoStart = true; };
|
||||
nixos.system.kernel.patches = [ "asus" ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -80,16 +80,6 @@ inputs:
|
||||
};
|
||||
structuredExtraConfig.BTRFS_EXPERIMENTAL = inputs.lib.kernel.yes;
|
||||
}];
|
||||
asus = builtins.map
|
||||
(file:
|
||||
{
|
||||
name = "asus-${file.name}";
|
||||
patch = "${inputs.topInputs.linux-asus}/${file.name}";
|
||||
})
|
||||
(builtins.filter
|
||||
(file: file.value == "regular" && inputs.lib.hasSuffix ".patch" file.name
|
||||
&& !(inputs.lib.hasInfix "more-uarches" file.name))
|
||||
(inputs.localLib.attrsToList (builtins.readDir "${inputs.topInputs.linux-asus}")));
|
||||
};
|
||||
in builtins.concatLists (builtins.map (name: patches.${name}) kernel.patches);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user