nixos-configs/hosts/wim/modules/desktop.nix

51 lines
931 B
Nix
Raw Normal View History

{ hyprland, pkgs, ... }: {
programs.dconf.enable = true;
services = {
xserver = {
displayManager = {
sessionPackages = [
hyprland.packages.x86_64-linux.default
];
2023-10-19 17:05:13 -04:00
};
libinput.enable = true;
};
2023-10-19 17:05:13 -04:00
greetd = {
settings = {
initial_session = {
command = "${hyprland.packages.x86_64-linux.default}/bin/Hyprland";
user = "matt";
};
};
};
2023-10-19 17:05:13 -04:00
dbus.enable = true;
gvfs.enable = true;
flatpak.enable = true;
tlp.enable = true;
};
xdg.portal = {
enable = true;
wlr.enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-gtk
];
};
environment.systemPackages = with pkgs; [
# for sddm
plasma5Packages.plasma-framework
plasma5Packages.plasma-workspace
qemu
wl-clipboard
alsa-utils
evtest
plasma5Packages.kio-admin
plasma5Packages.ksshaskpass
];
}