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 03:24:12 -05:00
|
|
|
}: let
|
|
|
|
user = config.services.device-vars.username;
|
|
|
|
hyprland = config.home-manager.users.${user}.wayland.windowManager.hyprland.finalPackage;
|
|
|
|
in {
|
2023-10-18 14:00:52 -04:00
|
|
|
programs.dconf.enable = true;
|
|
|
|
|
|
|
|
services = {
|
|
|
|
xserver = {
|
2023-11-23 01:23:15 -05:00
|
|
|
displayManager = {
|
2023-11-25 03:24:12 -05:00
|
|
|
sessionPackages = [hyprland];
|
2023-11-23 01:23:15 -05:00
|
|
|
};
|
2023-10-18 14:00:52 -04:00
|
|
|
|
2023-11-23 01:23:15 -05:00
|
|
|
libinput.enable = true;
|
2023-10-18 14:00:52 -04:00
|
|
|
};
|
2023-11-23 01:23:15 -05:00
|
|
|
|
|
|
|
greetd = {
|
|
|
|
settings = {
|
|
|
|
initial_session = {
|
2023-11-25 03:24:12 -05:00
|
|
|
command = "${hyprland}/bin/Hyprland";
|
|
|
|
user = user;
|
2023-11-23 01:23:15 -05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-10-18 14:00:52 -04:00
|
|
|
dbus.enable = true;
|
|
|
|
gvfs.enable = true;
|
|
|
|
flatpak.enable = true;
|
|
|
|
};
|
|
|
|
|
2023-11-23 01:23:15 -05:00
|
|
|
programs.kdeconnect.enable = true;
|
|
|
|
|
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
|
|
|
wlr.enable = true;
|
|
|
|
extraPortals = [
|
|
|
|
pkgs.xdg-desktop-portal-gtk
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2023-10-18 14:00:52 -04:00
|
|
|
environment.systemPackages = with pkgs; [
|
2023-11-28 21:24:53 -05:00
|
|
|
qemu
|
|
|
|
alsa-utils
|
|
|
|
plasma5Packages.kio-admin
|
|
|
|
plasma5Packages.ksshaskpass
|
2023-10-18 14:00:52 -04:00
|
|
|
p7zip # for reshade
|
2023-11-28 21:24:53 -05:00
|
|
|
kio-admin
|
2023-10-18 14:00:52 -04:00
|
|
|
];
|
|
|
|
}
|