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

71 lines
1.2 KiB
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; [
p7zip # for reshade
xclip
wl-clipboard
2023-11-23 01:23:15 -05:00
# FIXME: vlc stutters
mpv
flat-remix-icon-theme
2023-10-19 23:18:09 -04:00
nextcloud-client
2023-11-03 21:40:43 -04:00
libreoffice-qt
hunspell
hunspellDicts.en_CA
jellyfin-media-player
2023-10-25 14:34:49 -04:00
spotifywm
2023-11-23 01:19:39 -05:00
thunderbird
2023-11-05 16:25:49 -05:00
prismlauncher-qt5
2023-10-19 23:18:09 -04:00
(pkgs.discord.override {
withOpenASAR = true;
withVencord = true;
})
2023-10-25 15:54:08 -04:00
# School
2023-11-12 14:21:36 -05:00
virt-manager
2023-10-25 15:54:08 -04:00
bluej
2023-11-03 21:40:43 -04:00
xournalpp
];
}