nixos/hosts/hyprland.nix

27 lines
699 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.enable = true;
xdg.portal.extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
2023-08-03 16:01:13 +01:00
programs = {
hyprland.enable = true;
thunar = {
enable = true;
plugins = with pkgs.xfce; [ thunar-archive-plugin thunar-volman ];
};
};
}