Compare commits

..

10 Commits

Author SHA1 Message Date
gitea actions 885a8d2693 update handy to 0.8.2 2026-04-10 06:40:39 +00:00
thomas 51b9d97cd1 foot
helium update / update-helium (push) Successful in 12s
zen browser update / update-zen-browser (push) Successful in 9s
handy update / update-handy (push) Successful in 10s
t3code update / update-t3code (push) Successful in 10s
2026-04-09 14:14:38 +01:00
thomas f5646aa790 bruno better 2026-04-09 14:07:05 +01:00
thomas d74ff3fb05 postman 2026-04-09 14:06:56 +01:00
thomas 5bfb471047 proggy clean 2026-04-08 11:03:48 +01:00
thomas 5e21664124 lix 2026-04-08 00:52:28 +01:00
thomas 6f4e3d6444 attempt wifi fix 2026-04-08 00:16:35 +01:00
thomas 6efa23d145 fix handy
helium update / update-helium (push) Successful in 13s
zen browser update / update-zen-browser (push) Successful in 14s
handy update / update-handy (push) Successful in 9s
t3code update / update-t3code (push) Successful in 12s
2026-04-01 14:49:46 +01:00
thomas 2ebdafd916 add localsend 2026-03-29 11:42:19 +01:00
thomas 0a625747e5 wifi fixes 2026-03-26 23:33:23 +00:00
5 changed files with 69 additions and 21 deletions
Generated
+6 -6
View File
@@ -50,11 +50,11 @@
]
},
"locked": {
"lastModified": 1772408722,
"narHash": "sha256-rHuJtdcOjK7rAHpHphUb1iCvgkU3GpfvicLMwwnfMT0=",
"lastModified": 1775087534,
"narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "f20dc5d9b8027381c474144ecabc9034d6a839a3",
"rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
"type": "github"
},
"original": {
@@ -185,11 +185,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1774106199,
"narHash": "sha256-US5Tda2sKmjrg2lNHQL3jRQ6p96cgfWh3J1QBliQ8Ws=",
"lastModified": 1775423009,
"narHash": "sha256-vPKLpjhIVWdDrfiUM8atW6YkIggCEKdSAlJPzzhkQlw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6c9a78c09ff4d6c21d0319114873508a6ec01655",
"rev": "68d8aa3d661f0e6bd5862291b5bb263b2a6595c9",
"type": "github"
},
"original": {
+2 -1
View File
@@ -1,10 +1,11 @@
{ inputs, ... }: {
{...}: {
flake.nixosModules.fonts = {pkgs, ...}: {
fonts.packages = with pkgs; [
nerd-fonts.iosevka-term-slab
nerd-fonts.iosevka
nerd-fonts.fira-mono
nerd-fonts.fira-code
nerd-fonts.proggy-clean-tt
];
};
}
+45 -4
View File
@@ -32,7 +32,18 @@ in {
boot.kernelPackages = pkgs.linuxPackages_latest;
# Custom EDID override for Samsung 240Hz on DP-1
boot.kernelParams = ["drm.edid_firmware=DP-1:edid/g80.bin"];
# Extreme mt7921e fallback: disable PCIe ASPM globally
boot.kernelParams = [
"drm.edid_firmware=DP-1:edid/g80.bin"
"pcie_aspm=off"
];
# mt7921e stability tweaks
boot.extraModprobeConfig = ''
options mt7921e disable_aspm=Y
options mt7921e disable_clc=Y
'';
hardware.firmware = [
(pkgs.runCommand "g80-edid-firmware" {} ''
install -Dm444 ${../assets/edid/g80.bin} $out/lib/firmware/edid/g80.bin
@@ -43,7 +54,31 @@ in {
networking.hostName = "nixos";
# Networking
networking.networkmanager.enable = true;
networking.networkmanager = {
enable = true;
wifi.powersave = false;
settings.device."wifi.scan-rand-mac-address" = "no";
};
# Work around mt7921e getting stuck after suspend/resume
environment.etc."systemd/system-sleep/99-mt7921e-reset" = {
text = ''
#!/bin/sh
case "$1" in
post)
${pkgs.kmod}/bin/modprobe -r mt7921e || true
${pkgs.kmod}/bin/modprobe mt7921e
;;
esac
'';
mode = "0755";
};
# LocalSend
networking.firewall = {
allowedTCPPorts = [53317];
allowedUDPPorts = [53317];
};
# WebHID/VIA access on Linux (VIA needs hidraw access)
services.udev.extraRules = ''
@@ -126,8 +161,14 @@ in {
# Allow unfree
nixpkgs.config.allowUnfree = true;
# Enable flakes
nix.settings.experimental-features = ["nix-command" "flakes"];
# Use Lix as the system Nix implementation
nix.package = pkgs.lixPackageSets.stable.lix;
# Enable flakes + restrict who can submit builds to the daemon
nix.settings = {
experimental-features = ["nix-command" "flakes"];
allowed-users = ["root" flakeConfig.username];
};
# Auto-unlock gnome-keyring on login
security.pam.services.login.enableGnomeKeyring = true;
+5
View File
@@ -6,6 +6,7 @@
nerdfetch
libnotify
alacritty
foot
fzf
autojump
yazi
@@ -28,6 +29,10 @@
obs-studio
jjui
bat
localsend
# postman
bruno
bruno-cli
];
systemd.user.services.handy = {
+3 -2
View File
@@ -2,11 +2,11 @@
perSystem = {pkgs, ...}: {
packages.handy = pkgs.appimageTools.wrapType2 rec {
pname = "handy";
version = "0.8.1";
version = "0.8.2";
src = pkgs.fetchurl {
url = "https://github.com/cjpais/Handy/releases/download/v${version}/Handy_${version}_amd64.AppImage";
hash = "sha256-6MTD0eQqqHuWt+njUaXrc9eYIrpMIkUEMIrRTYwGXuw=";
hash = "sha256-+rRePge3ts87RiqZDF9/af2MDP5OBWs8yJSTHPe1fKM=";
};
extraInstallCommands = let
@@ -17,6 +17,7 @@
install -m 444 -D "$desktop_file" "$out/share/applications/${pname}.desktop"
substituteInPlace "$out/share/applications/${pname}.desktop" \
--replace 'Exec=AppRun' 'Exec=${pname}' || true
sed -i -E 's|^Exec=.*$|Exec=${pname}|g' "$out/share/applications/${pname}.desktop" || true
fi
if [ -d ${contents}/usr/share/icons ]; then