mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-16 22:31:03 +02:00
- redefine `{default,shell}.nix` to derive from `flake.nix` (using `flake-compat`) - use `flake-parts`' `_module.args.pkgs` machinery to apply overlays (instead of `pkgsFor`) - extract `homeManagerModule` to `nix/module.nix` - rename package at `nix/default.nix` to `nix/package.nix` Co-authored-by: reo101 <pavel.atanasov2001@gmail.com>
25 lines
426 B
Nix
25 lines
426 B
Nix
{
|
|
perSystem = { pkgs, ... }: {
|
|
devShells.default = pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
cargo
|
|
clippy
|
|
rustfmt
|
|
gtk3
|
|
gtk-layer-shell
|
|
gcc
|
|
openssl
|
|
libdbusmenu-gtk3
|
|
libpulseaudio
|
|
libinput
|
|
libevdev
|
|
luajit
|
|
luajitPackages.lgi
|
|
];
|
|
|
|
nativeBuildInputs = with pkgs; [
|
|
pkg-config
|
|
];
|
|
};
|
|
};
|
|
}
|