diff --git a/.gitignore b/.gitignore index 4c8c34bf..4592a499 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ build .vscode .cache .ccls-cache +archive diff --git a/devices/surface/default.nix b/devices/surface/default.nix index 9fd227b1..270084f5 100644 --- a/devices/surface/default.nix +++ b/devices/surface/default.nix @@ -26,7 +26,7 @@ inputs: }; nixpkgs.march = "skylake"; nix = { substituters = [ "https://nix-store.chn.moe?priority=100" ]; githubToken.enable = true; }; - kernel = { variant = null; patches = [ "hibernate-progress" ]; }; + kernel = { variant = "nixos"; patches = [ "surface" "hibernate-progress" ]; }; }; hardware = { cpus = [ "intel" ]; gpu.type = "intel"; }; services = diff --git a/flake.lock b/flake.lock index 156b4cb1..bd36cf46 100644 --- a/flake.lock +++ b/flake.lock @@ -879,15 +879,15 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1732483221, - "narHash": "sha256-kF6rDeCshoCgmQz+7uiuPdREVFuzhIorGOoPXMalL2U=", - "owner": "NixOS", + "lastModified": 1732536142, + "narHash": "sha256-DlwQrOBZET55+tOy2eO3DdAmH9B5xSQzj0TcuWClyF8=", + "owner": "CHN-beta", "repo": "nixos-hardware", - "rev": "45348ad6fb8ac0e8415f6e5e96efe47dd7f39405", + "rev": "20d99c009ced76a49be02d7ba709b2ce5378c806", "type": "github" }, "original": { - "owner": "NixOS", + "owner": "CHN-beta", "repo": "nixos-hardware", "type": "github" } diff --git a/flake.nix b/flake.nix index 01b2c230..31caa235 100644 --- a/flake.nix +++ b/flake.nix @@ -19,7 +19,7 @@ inputs = { nixpkgs.follows = "nixpkgs"; home-manager.follows = "home-manager"; }; }; nur-linyinfeng = { url = "github:linyinfeng/nur-packages"; inputs.nixpkgs.follows = "nixpkgs"; }; - nixos-hardware.url = "github:NixOS/nixos-hardware"; + nixos-hardware.url = "github:CHN-beta/nixos-hardware"; envfs = { url = "github:Mic92/envfs"; inputs.nixpkgs.follows = "nixpkgs"; }; nix-flatpak.url = "github:gmodena/nix-flatpak"; chaotic =