Compare commits

...

12 commits

8 changed files with 62 additions and 106 deletions

4
.gitignore vendored
View file

@ -6,4 +6,6 @@
.direnv/ .direnv/
# nixago: ignore-linked-files # nixago: ignore-linked-files
/treefmt.toml /treefmt.toml
/debug-logs

17
flake.lock generated
View file

@ -17,22 +17,6 @@
"type": "github" "type": "github"
} }
}, },
"ath11k-firmware": {
"flake": false,
"locked": {
"lastModified": 1733258345,
"narHash": "sha256-th2svNLc74sVI/P+y1/Yck1IW+RIUnxL+NF2HLrsSxI=",
"ref": "refs/heads/main",
"rev": "ff9dd08208c5705a3867fc132dcedb5d31c901e2",
"revCount": 163,
"type": "git",
"url": "https://git.codelinaro.org/clo/ath-firmware/ath11k-firmware.git"
},
"original": {
"type": "git",
"url": "https://git.codelinaro.org/clo/ath-firmware/ath11k-firmware.git"
}
},
"colmena": { "colmena": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
@ -1249,7 +1233,6 @@
"root": { "root": {
"inputs": { "inputs": {
"aphorme_launcher": "aphorme_launcher", "aphorme_launcher": "aphorme_launcher",
"ath11k-firmware": "ath11k-firmware",
"colmena": "colmena", "colmena": "colmena",
"crane": "crane", "crane": "crane",
"disko": [ "disko": [

View file

@ -88,11 +88,6 @@
url = "github:espanso/espanso/db97658d1d80697a635b57801696c594eacf057b"; url = "github:espanso/espanso/db97658d1d80697a635b57801696c594eacf057b";
}; };
ath11k-firmware = {
url = "git+https://git.codelinaro.org/clo/ath-firmware/ath11k-firmware.git";
flake = false;
};
nixpkgs-kanidm.url = "github:steveej-forks/nixpkgs/kanidm"; nixpkgs-kanidm.url = "github:steveej-forks/nixpkgs/kanidm";
nix4vscode = { nix4vscode = {
url = "github:nix-community/nix4vscode"; url = "github:nix-community/nix4vscode";
@ -325,12 +320,6 @@
nativeBuildInputs = [ pkgs.pkg-config ]; nativeBuildInputs = [ pkgs.pkg-config ];
buildInputs = [ ]; buildInputs = [ ];
}; };
x13s-ath11k-firmware = pkgs.runCommand "x13s-ath11k-firmware-before" { } ''
mkdir -p $out/lib/firmware/ath11k/WCN6855/hw2.1/
cp -v ${inputs.ath11k-firmware}/WCN6855/hw2.1/{board-2,regdb}.bin $out/lib/firmware/ath11k/WCN6855/hw2.1/
cp -v ${inputs.ath11k-firmware}/WCN6855/hw2.1/1.1/WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.41/{amss,m3}.bin $out/lib/firmware/ath11k/WCN6855/hw2.1/
'';
}; };
formatter = formatter =

View file

@ -67,6 +67,7 @@
# hedgedoc-cli # hedgedoc-cli
xwayland xwayland
pulsemixer
(pkgs.writeShellScriptBin "rflk" '' (pkgs.writeShellScriptBin "rflk" ''
exec nix run nixpkgs#$@ exec nix run nixpkgs#$@

View file

@ -57,6 +57,7 @@ let
# Vimium C # Vimium C
{ id = "hfjbmagddngcpeloejdejnfgbamkjaeg"; } { id = "hfjbmagddngcpeloejdejnfgbamkjaeg"; }
# TODO: this causes scrolling the tab bar all the way to the end. look for a different one or report
# always right # always right
{ id = "npjpaghfnndnnmjiliibnkmdfgbojokj"; } { id = "npjpaghfnndnnmjiliibnkmdfgbojokj"; }

View file

@ -84,6 +84,8 @@
../../snippets/nix-settings-holo-chain.nix ../../snippets/nix-settings-holo-chain.nix
../../snippets/mycelium.nix ../../snippets/mycelium.nix
# TODO: broken with: v4l2loopback-0.13.2-6.13.0-rc3.drv
# make: *** [Makefile:53: v4l2loopback.ko] Error 2
# ../../snippets/obs-studio.nix # ../../snippets/obs-studio.nix
{ {
@ -231,8 +233,13 @@
]; ];
}; };
# TODO: debug this collision: collision between `/nix/store/cb32qlzc4pm6h4arw59kxqyzbvgnmx7g-b43-firmware-6.30.163.46-zstd/lib/firmware/b43/a0g0bsinitvals5.fw.zst' and `/nix/store/niffz3cf0v91y5knz0an29fwvm8amigm-b43-firmware-5.100.138-zstd/lib/firmware/b43/a0g0bsinitvals5.fw.zst'
hardware.firmware = lib.mkBefore [ hardware.firmware = lib.mkBefore [
packages'.x13s-ath11k-firmware (pkgs.runCommand "x13s-ath11k-firmware-before" { } ''
mkdir -p $out/lib/firmware/ath11k/WCN6855/hw2.1/
cp -v ${nodeFlake.inputs.ath11k-firmware}/WCN6855/hw2.1/{board-2,regdb}.bin $out/lib/firmware/ath11k/WCN6855/hw2.1/
cp -v ${nodeFlake.inputs.ath11k-firmware}/WCN6855/hw2.1/1.1/WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.41/{amss,m3}.bin $out/lib/firmware/ath11k/WCN6855/hw2.1/
'')
]; ];
# see https://linrunner.de/tlp/ # see https://linrunner.de/tlp/

View file

@ -1,5 +1,21 @@
{ {
"nodes": { "nodes": {
"ath11k-firmware": {
"flake": false,
"locked": {
"lastModified": 1733258345,
"narHash": "sha256-th2svNLc74sVI/P+y1/Yck1IW+RIUnxL+NF2HLrsSxI=",
"ref": "refs/heads/main",
"rev": "ff9dd08208c5705a3867fc132dcedb5d31c901e2",
"revCount": 163,
"type": "git",
"url": "https://git.codelinaro.org/clo/ath-firmware/ath11k-firmware.git"
},
"original": {
"type": "git",
"url": "https://git.codelinaro.org/clo/ath-firmware/ath11k-firmware.git"
}
},
"crane": { "crane": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -28,11 +44,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1733168902, "lastModified": 1734701201,
"narHash": "sha256-8dupm9GfK+BowGdQd7EHK5V61nneLfr9xR6sc5vtDi0=", "narHash": "sha256-hk0roBX10j/hospoWIJIJj3i2skd7Oml6yKQBx7mTFk=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "785c1e02c7e465375df971949b8dcbde9ec362e5", "rev": "2ee76c861af3b895b3b104bae04777b61397485b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -148,11 +164,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1733389730, "lastModified": 1734944412,
"narHash": "sha256-KZMu4ddMll5khS0rYkJsVD0hVqjMNHlhTM3PCQar0Ag=", "narHash": "sha256-36QfCAl8V6nMIRUCgiC79VriJPUXXkHuR8zQA1vAtSU=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "65912bc6841cf420eb8c0a20e03df7cbbff5963f", "rev": "8264bfe3a064d704c57df91e34b795b6ac7bad9e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -165,16 +181,16 @@
"linux-jhovold": { "linux-jhovold": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1733214488, "lastModified": 1734331387,
"narHash": "sha256-nhS3FgdJm1KBjAuTePgcQ4oXzigyDufQfz2TUUahHtM=", "narHash": "sha256-q49Gk6MNWX5cZZlls3mcZ1UloDtOjJGEVTFNQD/UtWM=",
"owner": "jhovold", "owner": "jhovold",
"repo": "linux", "repo": "linux",
"rev": "ccd13b9fd1a31c869789e2320e777bfdc150face", "rev": "e6114ad3a4a32e01978f87af5844e03d50b7732b",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "jhovold", "owner": "jhovold",
"ref": "wip/sc8280xp-6.13-rc1", "ref": "wip/sc8280xp-6.13-rc3",
"repo": "linux", "repo": "linux",
"type": "github" "type": "github"
} }
@ -190,11 +206,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1732269459, "lastModified": 1734517344,
"narHash": "sha256-KIn7TfNknBiCoM/RedPqW3Im9X0Iiwig3hHAAhkTDLg=", "narHash": "sha256-TlYqTCs3CxHsq7JTIeQwWpz86MYqYjXdGzNavt4hPm8=",
"owner": "threefoldtech", "owner": "threefoldtech",
"repo": "mycelium", "repo": "mycelium",
"rev": "430ec6b272a4654d0ccbf053bfad8a594eff4016", "rev": "74719ba7cacb96e2d9251ce57760474e6973a14e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -248,11 +264,11 @@
"x13s-bt-linux-firmware": "x13s-bt-linux-firmware" "x13s-bt-linux-firmware": "x13s-bt-linux-firmware"
}, },
"locked": { "locked": {
"lastModified": 1733393262, "lastModified": 1734814904,
"narHash": "sha256-cbpUix+ggnZtTT7Rtr1+A+iX+fI+KpduaGOOTXhaQWU=", "narHash": "sha256-+bjvOEXRmy1j3tbwYFBCy5Ego8YrYQah7osIDigF/Uc=",
"ref": "bump", "ref": "bump",
"rev": "b116d698f4b531a7577ccb875ca6a8106b9d63ee", "rev": "3c79ed01fb15d9e1f2c6226dae1a2ee883c77c8e",
"revCount": 127, "revCount": 130,
"type": "git", "type": "git",
"url": "https://forgejo.www.stefanjunker.de/steveej/nixos-x13s.git" "url": "https://forgejo.www.stefanjunker.de/steveej/nixos-x13s.git"
}, },
@ -292,11 +308,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1733261153, "lastModified": 1734875076,
"narHash": "sha256-eq51hyiaIwtWo19fPEeE0Zr2s83DYMKJoukNLgGGpek=", "narHash": "sha256-Pzyb+YNG5u3zP79zoi8HXYMs15Q5dfjDgwCdUI5B0nY=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b681065d0919f7eb5309a93cea2cfa84dec9aa88", "rev": "1807c2b91223227ad5599d7067a61665c52d1295",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -308,11 +324,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1733393026, "lastModified": 1733759999,
"narHash": "sha256-hpUyV0NHnIZpFzN6p7udW6Jh+m9tlLvCcNf1/wG5pQY=", "narHash": "sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU=",
"owner": "steveej-forks", "owner": "steveej-forks",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b1714b7f9e5761ad965a4df7602105f1e159b89e", "rev": "a73246e2eef4c6ed172979932bc80e1404ba2d56",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -324,6 +340,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"ath11k-firmware": "ath11k-firmware",
"disko": "disko", "disko": "disko",
"get-flake": "get-flake", "get-flake": "get-flake",
"home-manager": "home-manager", "home-manager": "home-manager",

View file

@ -14,7 +14,10 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nixos-x13s.url = "git+https://forgejo.www.stefanjunker.de/steveej/nixos-x13s.git?ref=bump" nixos-x13s.url =
"git+https://forgejo.www.stefanjunker.de/steveej/nixos-x13s.git?ref=bump"
# 6.13-rc2
# "git+https://forgejo.www.stefanjunker.de/steveej/nixos-x13s.git?ref=bump&rev=c95058f8aa1b361df3874429c5dc0f694f9cba78"
# 6.11.0 # 6.11.0
# "git+https://forgejo.www.stefanjunker.de/steveej/nixos-x13s.git?branch=remaintain&rev=6b9efe77ca80653354981c720af3c4241ac71490" # "git+https://forgejo.www.stefanjunker.de/steveej/nixos-x13s.git?branch=remaintain&rev=6b9efe77ca80653354981c720af3c4241ac71490"
# 6.12.0-rc6 # 6.12.0-rc6
@ -26,6 +29,11 @@
# nixos-x13s.url = "path:/home/steveej/src/others/nixos-x13s"; # nixos-x13s.url = "path:/home/steveej/src/others/nixos-x13s";
# nixos-x13s.inputs.nixpkgs.follows = "nixpkgs"; # nixos-x13s.inputs.nixpkgs.follows = "nixpkgs";
ath11k-firmware = {
url = "git+https://git.codelinaro.org/clo/ath-firmware/ath11k-firmware.git";
flake = false;
};
mycelium.url = "github:threefoldtech/mycelium"; mycelium.url = "github:threefoldtech/mycelium";
mycelium.inputs.nixpkgs.follows = "nixpkgs"; mycelium.inputs.nixpkgs.follows = "nixpkgs";
@ -80,59 +88,7 @@
inherit mkNixosConfiguration; inherit mkNixosConfiguration;
}; };
overlays.libcamera =
_final: previous:
let
webkitgtkPreConfigure = ''
export NIX_BUILD_CORES="$((NIX_BUILD_CORES > 2 ? 2 : NIX_BUILD_CORES))"
export NUMBER_OF_PROCESSORS="$NIX_BUILD_CORES"
'';
in
{
wireplumber = previous.wireplumber.overrideAttrs (_: {
version = "git";
src = previous.fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "pipewire";
repo = "wireplumber";
rev = "71f868233792f10848644319dbdc97a4f147d554";
hash = "sha256-VX3OFsBK9AbISm/XTx8p05ak+z/VcKXfUXhB9aI9ev8=";
};
});
libcamera = previous.libcamera.overrideAttrs (_: {
postFixup = ''
../src/ipa/ipa-sign-install.sh src/ipa-priv-key.pem $out/lib/libcamera/ipa_*.so
'';
});
libcamera-qcam = previous.libcamera-qcam.overrideAttrs (_: {
postFixup = ''
../src/ipa/ipa-sign-install.sh src/ipa-priv-key.pem $out/lib/libcamera/ipa_*.so
'';
});
webkitgtk = previous.webkitgtk.overrideAttrs (attrs: {
preConfigure = attrs.preConfigure + webkitgtkPreConfigure;
});
webkitgtk_4_1 = previous.webkitgtk_4_1.overrideAttrs (attrs: {
preConfigure = attrs.preConfigure + webkitgtkPreConfigure;
});
webkitgtk_6_0 = previous.webkitgtk_6_0.overrideAttrs (attrs: {
preConfigure = attrs.preConfigure + webkitgtkPreConfigure;
});
};
overlays.default = _final: _previous: { overlays.default = _final: _previous: {
# inherit pkgsUnstable;
# inherit (pkgsUnstable)
# libcamera
# webkitgtk
# webkitgtk_4_1
# webkitgtk_6_0
# ;
}; };
nixosConfigurations = { nixosConfigurations = {