Skip to content

Commit

Permalink
treewide: remove some workarounds
Browse files Browse the repository at this point in the history
  • Loading branch information
linyinfeng committed Oct 4, 2024
1 parent 9972419 commit e34e7d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
9 changes: 5 additions & 4 deletions flake/nixpkgs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,11 @@ let
inherit (alternativeChannels nixpkgsArgs) latest unstable-small stable;
in
[
(_final: _prev: {
# TODO wait for https://nixpkgs-tracker.ocfox.me/?pr=341520
inherit (unstable-small) waybar;
})
(
_final: _prev:
{
}
)
];
in
{
Expand Down
12 changes: 2 additions & 10 deletions nixos/hosts/framework/_hardware.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
# https://github.com/NixOS/nixos-hardware/blob/master/framework/13-inch/12th-gen-intel/default.nix
{
inputs,
config,
pkgs,
lib,
...
}:
lib.mkMerge [
{
# TODO wait for https://nixpkgs-tracker.ocfox.me/?pr=335482
# boot.extraModulePackages = with config.boot.kernelPackages; [
# framework-laptop-kmod
# ];
boot.extraModulePackages = [
(config.boot.kernelPackages.callPackage
"${inputs.nixpkgs-unstable-small}/pkgs/os-specific/linux/framework-laptop-kmod/default.nix"
{ }
)
boot.extraModulePackages = with config.boot.kernelPackages; [
framework-laptop-kmod
];
}

Expand Down

0 comments on commit e34e7d5

Please sign in to comment.