25 lines
472 B
Nix
25 lines
472 B
Nix
{moduleWithSystem, ...}: {
|
|
flake.nixosModules.hyprland = moduleWithSystem ({self', ...}: {
|
|
programs.hyprland = {
|
|
enable = true;
|
|
package = self'.packages.hyprland;
|
|
};
|
|
});
|
|
perSystem = {
|
|
inputs',
|
|
pkgs,
|
|
self',
|
|
...
|
|
}: {
|
|
packages.hyprland = inputs'.hyprland.packages.default.override {
|
|
runtimePkgs = with pkgs;
|
|
[
|
|
waybar
|
|
]
|
|
++ (with self'.packages; [
|
|
foot
|
|
]);
|
|
};
|
|
};
|
|
}
|