2023-11-22 15:33:16 -05:00
|
|
|
{
|
|
|
|
pkgs,
|
2023-11-25 03:24:12 -05:00
|
|
|
config,
|
2023-11-22 15:33:16 -05:00
|
|
|
...
|
2023-11-25 17:13:46 -05:00
|
|
|
}: let
|
2023-11-25 03:24:12 -05:00
|
|
|
user = config.services.device-vars.username;
|
|
|
|
hyprland = config.home-manager.users.${user}.wayland.windowManager.hyprland.finalPackage;
|
|
|
|
in {
|
2023-10-18 12:42:11 -04:00
|
|
|
programs.dconf.enable = true;
|
|
|
|
|
|
|
|
services = {
|
|
|
|
xserver = {
|
|
|
|
displayManager = {
|
2023-11-25 03:24:12 -05:00
|
|
|
sessionPackages = [hyprland];
|
2023-10-19 17:05:13 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
libinput.enable = true;
|
2023-11-23 21:53:19 -05:00
|
|
|
wacom.enable = true;
|
2023-10-19 17:05:13 -04:00
|
|
|
};
|
2023-10-18 12:42:11 -04:00
|
|
|
|
2023-10-19 17:05:13 -04:00
|
|
|
greetd = {
|
|
|
|
settings = {
|
|
|
|
initial_session = {
|
2023-11-25 03:24:12 -05:00
|
|
|
command = "${hyprland}/bin/Hyprland";
|
2023-10-18 12:42:11 -04:00
|
|
|
user = "matt";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2023-10-19 17:05:13 -04:00
|
|
|
|
2023-10-18 12:42:11 -04:00
|
|
|
dbus.enable = true;
|
|
|
|
gvfs.enable = true;
|
|
|
|
flatpak.enable = true;
|
|
|
|
tlp.enable = true;
|
|
|
|
};
|
|
|
|
|
2023-10-20 13:07:18 -04:00
|
|
|
programs.kdeconnect.enable = true;
|
|
|
|
|
2023-10-18 12:42:11 -04:00
|
|
|
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
|
|
|
|
alsa-utils
|
|
|
|
plasma5Packages.kio-admin
|
|
|
|
plasma5Packages.ksshaskpass
|
|
|
|
];
|
|
|
|
}
|