43 lines
925 B
Nix
43 lines
925 B
Nix
{ pkgs, hyprland, ... }: {
|
|
imports = [ ./desktop.nix hyprland.nixosModules.default ];
|
|
environment.systemPackages = with pkgs; [
|
|
xdg-utils
|
|
gsettings-desktop-schemas
|
|
swww
|
|
pipewire
|
|
wireplumber
|
|
wl-clipboard
|
|
grim
|
|
slurp
|
|
swayimg
|
|
pamixer
|
|
pavucontrol
|
|
playerctl
|
|
brightnessctl
|
|
];
|
|
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;
|
|
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
|
|
};
|
|
programs = {
|
|
hyprland = {
|
|
enable = true;
|
|
package = hyprland.packages.${pkgs.system}.hyprland;
|
|
};
|
|
thunar = {
|
|
enable = true;
|
|
plugins = with pkgs.xfce; [ thunar-archive-plugin thunar-volman ];
|
|
};
|
|
};
|
|
}
|