This commit is contained in:
Tao Tien 2024-05-03 12:20:34 -07:00
parent b9c383a417
commit e0f929d412
4 changed files with 16 additions and 11 deletions

12
flake.lock generated
View file

@ -107,11 +107,11 @@
]
},
"locked": {
"lastModified": 1714605578,
"narHash": "sha256-Zr43qQZ7T5zyuJcRXXXhmd7SlB13DKVUc6VY9N/hkk4=",
"lastModified": 1714699878,
"narHash": "sha256-JJBSyecUyUHR9Y0Ghw+rPP3xWjw+m6p8QCWNxHtlp+w=",
"owner": "lilyinstarlight",
"repo": "nixos-cosmic",
"rev": "b5f4b34f6538d22688b279d0fa5455f752f94a72",
"rev": "81e4082431d4ef56d127107b18fb0eee95677782",
"type": "github"
},
"original": {
@ -122,11 +122,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1714465198,
"narHash": "sha256-ySkEJvS0gPz2UhXm0H3P181T8fUxvDVcoUyGn0Kc5AI=",
"lastModified": 1714746424,
"narHash": "sha256-Jdyw7VcM+jQ0uSXgjFj8UdXZ229yOvPNlYkKyKyHA4s=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "68d680c1b7c0e67a9b2144d6776583ee83664ef4",
"rev": "3f017311191fe6d501ca2496a835d012f656ee9c",
"type": "github"
},
"original": {

View file

@ -17,7 +17,6 @@
openrgb
];
services.displayManager.defaultSession = "plasma";
services.tailscale.useRoutingFeatures = "both";
boot.kernel.sysctl."net.ipv4.ip_forward" = "1";
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = "1";

View file

@ -4,6 +4,16 @@
pkgs,
...
}: {
boot.kernelPatches = [
(lib.mkIf (lib.versionOlder pkgs.linuxPackages_latest.kernel.version "6.9")
{
name = "cros_ec_lpc";
patch = pkgs.fetchpatch {
url = "https://patchwork.kernel.org/series/840830/mbox/";
sha256 = "sha256-7jSEAGInFC+a+ozCyD4dFz3Qgh2JrHskwz7UfswizFw=";
};
})
];
# nixpkgs.overlays = [
# (final: prev: {
# libinput = prev.libinput.overrideAttrs (old: {
@ -32,7 +42,6 @@
services.fwupd.enable = true;
services.tailscale.useRoutingFeatures = "client";
systemd.services."backlight@backlight:amdgpu_bl2".enable = false;
services.displayManager.defaultSession = "plasmawayland";
environment.etc = {
"libinput/local-overrides.quirks".text = "
@ -47,8 +56,6 @@
AttrKeyboardIntegration=internal";
};
services.displayManager.defaultSession = "plasma";
nix.buildMachines = [
{
hostName = "nocomputer";

View file

@ -12,7 +12,6 @@
services.fprintd.enable = true;
hardware.sensor.iio.enable = true;
services.displayManager.defaultSession = "plasma";
services.displayManager.sddm.wayland.enable = true;
# systemd.user.services.backlight = {