From e1145f734c8569fd5444083b0e1d6a711eb2c3f3 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 29 Mar 2024 09:45:18 -0500 Subject: [PATCH 1/2] Back to plasma --- modules/home-manager/helix.nix | 2 ++ nixos/foxtrot.nix | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/home-manager/helix.nix b/modules/home-manager/helix.nix index 64aac19..31e81a7 100644 --- a/modules/home-manager/helix.nix +++ b/modules/home-manager/helix.nix @@ -29,6 +29,8 @@ in { # NOTE: Currently, helix crashes when editing markdown in certain scenarios, # presumably due to an old markdown treesitter grammar # https://github.com/helix-editor/helix/issues/9011 + # https://github.com/helix-editor/helix/issues/8821 + # https://github.com/tree-sitter-grammars/tree-sitter-markdown/issues/114 programs.helix = { enable = true; diff --git a/nixos/foxtrot.nix b/nixos/foxtrot.nix index e49cf10..18768b4 100644 --- a/nixos/foxtrot.nix +++ b/nixos/foxtrot.nix @@ -5,7 +5,7 @@ pkgs, ... }: let - scale = 1.333333; + scale = 1.25; in { networking.hostName = "foxtrot"; @@ -20,7 +20,7 @@ in { desktop-usage # gnome printing - # kde-plasma + kde-plasma podman lutris # postgres From f1ed65d50c1e745681042ed4a6636e2cf8baff38 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 29 Mar 2024 10:14:41 -0500 Subject: [PATCH 2/2] Add resume commands for fixing foxtrot wifi --- modules/nixos/common.nix | 1 + nixos/foxtrot.nix | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/modules/nixos/common.nix b/modules/nixos/common.nix index fc6c3e4..e823c2f 100644 --- a/modules/nixos/common.nix +++ b/modules/nixos/common.nix @@ -196,6 +196,7 @@ in { extraHosts = '' ::1 host.docker.internal 127.0.0.1 host.docker.internal + ::1 host.containers.internal 127.0.0.1 host.containers.internal ''; diff --git a/nixos/foxtrot.nix b/nixos/foxtrot.nix index 18768b4..590de12 100644 --- a/nixos/foxtrot.nix +++ b/nixos/foxtrot.nix @@ -189,6 +189,10 @@ in { powerOnBoot = false; }; powerManagement.cpuFreqGovernor = "ondemand"; + powerManagement.resumeCommands = '' + modprobe -rv mt7921e + modprobe -v mt7921e + ''; services.power-profiles-daemon = { enable = true;