nixos/hosts/hyprland.nix

20 lines
542 B
Nix
Raw Normal View History

{ pkgs, hyprland, ... }: {
imports = [ ./desktop.nix hyprland.nixosModules.default ];
environment.systemPackages = with pkgs; [
xdg-utils
gsettings-desktop-schemas
];
security.pam.services.swaylock = { };
services = {
blueman.enable = true;
gvfs.enable = true;
tumbler.enable = true;
greetd.settings = {
default_session.command = "Hyprland";
initial_session.command = "Hyprland";
};
};
xdg.portal.extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
programs.hyprland.enable = true;
}