mashu: Change kernel
This commit is contained in:
parent
ef8764f5be
commit
961278b2fe
@ -665,11 +665,11 @@
|
|||||||
"rev": "eeafcf0d0cc3713727697f6a2badc5eea706c81c",
|
"rev": "eeafcf0d0cc3713727697f6a2badc5eea706c81c",
|
||||||
"revCount": 19,
|
"revCount": 19,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://dev.ostylk.de/NixDistro/tablet-mode.git"
|
"url": "https://destiny.ostylk.de/gitea/NixDistro/tablet-mode.git"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://dev.ostylk.de/NixDistro/tablet-mode.git"
|
"url": "https://destiny.ostylk.de/gitea/NixDistro/tablet-mode.git"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"utils": {
|
"utils": {
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
ostylk.url = "git+https://destiny.ostylk.de/gitea/NixDistro/Config.git";
|
ostylk.url = "git+https://destiny.ostylk.de/gitea/NixDistro/Config.git";
|
||||||
ostylk-home.url = "git+https://destiny.ostylk.de/gitea/NixDistro/Home.git";
|
ostylk-home.url = "git+https://destiny.ostylk.de/gitea/NixDistro/Home.git";
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
tablet-mode.url = "git+https://dev.ostylk.de/NixDistro/tablet-mode.git";
|
tablet-mode.url = "git+https://destiny.ostylk.de/gitea/NixDistro/tablet-mode.git";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
imports = with inputs.nixos-hardware.nixosModules; [
|
imports = with inputs.nixos-hardware.nixosModules; [
|
||||||
common-cpu-intel common-pc-ssd microsoft-surface
|
common-cpu-intel common-pc-ssd #microsoft-surface
|
||||||
];
|
];
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
@ -60,6 +60,7 @@
|
|||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
kernelParams = [ "mem_sleep_default=deep" "kernel.nmi_watchdog=0" "vm.dirty_writeback_centisecs=1500" ];
|
kernelParams = [ "mem_sleep_default=deep" "kernel.nmi_watchdog=0" "vm.dirty_writeback_centisecs=1500" ];
|
||||||
|
kernelPackages = with pkgs; linuxPackagesFor (ostylk-home.packages.x86_64-linux.surface-kernel.override { kernel = kernel_5_16; });
|
||||||
extraModprobeConfig = ''
|
extraModprobeConfig = ''
|
||||||
options i915 enable_fbc=1 enable_rc6=1 modeset=1
|
options i915 enable_fbc=1 enable_rc6=1 modeset=1
|
||||||
options snd_hda_intel power_save=1
|
options snd_hda_intel power_save=1
|
||||||
|
Loading…
Reference in New Issue
Block a user