mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-11 07:49:24 +08:00
devices.surface: use nixos kernel
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,3 +6,4 @@ build
|
|||||||
.vscode
|
.vscode
|
||||||
.cache
|
.cache
|
||||||
.ccls-cache
|
.ccls-cache
|
||||||
|
archive
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ inputs:
|
|||||||
};
|
};
|
||||||
nixpkgs.march = "skylake";
|
nixpkgs.march = "skylake";
|
||||||
nix = { substituters = [ "https://nix-store.chn.moe?priority=100" ]; githubToken.enable = true; };
|
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"; };
|
hardware = { cpus = [ "intel" ]; gpu.type = "intel"; };
|
||||||
services =
|
services =
|
||||||
|
|||||||
10
flake.lock
generated
10
flake.lock
generated
@@ -879,15 +879,15 @@
|
|||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732483221,
|
"lastModified": 1732536142,
|
||||||
"narHash": "sha256-kF6rDeCshoCgmQz+7uiuPdREVFuzhIorGOoPXMalL2U=",
|
"narHash": "sha256-DlwQrOBZET55+tOy2eO3DdAmH9B5xSQzj0TcuWClyF8=",
|
||||||
"owner": "NixOS",
|
"owner": "CHN-beta",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "45348ad6fb8ac0e8415f6e5e96efe47dd7f39405",
|
"rev": "20d99c009ced76a49be02d7ba709b2ce5378c806",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "CHN-beta",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
inputs = { nixpkgs.follows = "nixpkgs"; home-manager.follows = "home-manager"; };
|
inputs = { nixpkgs.follows = "nixpkgs"; home-manager.follows = "home-manager"; };
|
||||||
};
|
};
|
||||||
nur-linyinfeng = { url = "github:linyinfeng/nur-packages"; inputs.nixpkgs.follows = "nixpkgs"; };
|
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"; };
|
envfs = { url = "github:Mic92/envfs"; inputs.nixpkgs.follows = "nixpkgs"; };
|
||||||
nix-flatpak.url = "github:gmodena/nix-flatpak";
|
nix-flatpak.url = "github:gmodena/nix-flatpak";
|
||||||
chaotic =
|
chaotic =
|
||||||
|
|||||||
Reference in New Issue
Block a user