nixos-configs/devices/binto/modules/desktop.nix

53 lines
934 B
Nix
Raw Normal View History

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 {
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-11-23 01:23:15 -05:00
libinput.enable = true;
};
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
};
};
};
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
];
};
environment.systemPackages = with pkgs; [
2023-11-28 21:24:53 -05:00
qemu
alsa-utils
plasma5Packages.kio-admin
plasma5Packages.ksshaskpass
p7zip # for reshade
2023-11-28 21:24:53 -05:00
kio-admin
];
}