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

70 lines
1.2 KiB
Nix

{
pkgs,
config,
...
}: let
user = config.services.device-vars.username;
hyprland = config.home-manager.users.${user}.wayland.windowManager.hyprland.finalPackage;
in {
programs.dconf.enable = true;
services = {
xserver = {
displayManager = {
sessionPackages = [hyprland];
};
libinput.enable = true;
};
greetd = {
settings = {
initial_session = {
command = "${hyprland}/bin/Hyprland";
user = user;
};
};
};
dbus.enable = true;
gvfs.enable = true;
flatpak.enable = true;
};
programs.kdeconnect.enable = true;
xdg.portal = {
enable = true;
wlr.enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-gtk
];
};
environment.systemPackages = with pkgs; [
p7zip # for reshade
xclip
wl-clipboard
# FIXME: vlc stutters
mpv
flat-remix-icon-theme
nextcloud-client
libreoffice-qt
hunspell
hunspellDicts.en_CA
jellyfin-media-player
spotifywm
thunderbird
prismlauncher-qt5
(pkgs.discord.override {
withOpenASAR = true;
withVencord = true;
})
# School
virt-manager
bluej
xournalpp
];
}