38 lines
746 B
Nix
38 lines
746 B
Nix
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [../../extra/mako];
|
|
|
|
xdg.portal = let
|
|
hyprland = config.wayland.windowManager.hyprland.package;
|
|
xdph = pkgs.xdg-desktop-portal-hyprland.override {inherit hyprland;};
|
|
in {
|
|
extraPortals = [xdph];
|
|
configPackages = [hyprland];
|
|
};
|
|
home.packages = with pkgs; [
|
|
grimblast
|
|
slurp
|
|
hyprpicker
|
|
swaybg
|
|
tofi
|
|
gnome.gnome-calculator
|
|
];
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
extraConfig = ''
|
|
${builtins.readFile ./hyprland.conf}
|
|
'';
|
|
systemd = {
|
|
enable = true;
|
|
extraCommands = [
|
|
"systemctl --user stop graphical-session.target"
|
|
"systemctl --user start hyprland-session.target"
|
|
];
|
|
};
|
|
};
|
|
}
|