add halley

This commit is contained in:
EdenQwQ 2026-04-24 12:07:42 +08:00
parent 544e96a21d
commit 65a37d47af
6 changed files with 158 additions and 53 deletions

View file

@ -12,15 +12,41 @@
# ./scroll
# ./mango
];
home.packages = with pkgs; [
awww
swaybg
kanshi
wlsunset
xwayland-satellite
wmname
inputs.hexecute.packages.${pkgs.stdenv.hostPlatform.system}.default
];
home.packages =
with pkgs;
let
system = pkgs.stdenv.hostPlatform.system;
newLibinput = inputs.nixpkgs-new-libinput.legacyPackages.${system}.libinput;
driftwm-fixed = inputs.driftwm.packages.${system}.default.overrideAttrs (oldAttrs: {
buildInputs = (builtins.filter (p: (p.pname or "") != "libinput") oldAttrs.buildInputs) ++ [
newLibinput
];
postFixup = ''
patchelf --add-rpath "${
pkgs.lib.makeLibraryPath (
(builtins.filter (p: (p.pname or "") != "libinput") oldAttrs.buildInputs) ++ [ newLibinput ]
)
}" $out/bin/driftwm
'';
cargoDeps = pkgs.rustPlatform.importCargoLock {
lockFile = "${inputs.driftwm}/Cargo.lock";
outputHashes = {
"smithay-drm-extras-0.1.0" = "sha256-6iTLezGeSnefQbCoZHsXayinjFvrsC7ezW88tlZx9Y0=";
};
};
});
in
[
awww
swaybg
kanshi
wlsunset
xwayland-satellite
wmname
inputs.hexecute.packages.${system}.default
driftwm-fixed
halley
];
home.file."scripts" = {
source = ./scripts;
recursive = true;