mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-07-16 22:16:51 +08:00
add halley
This commit is contained in:
parent
544e96a21d
commit
65a37d47af
6 changed files with 158 additions and 53 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue