2023-10-14 20:49:30 +01:00
|
|
|
{ config, lib, pkgs, user, watershot, ... }:
|
2023-09-26 19:03:50 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [ ./desktop.nix ];
|
2023-09-21 08:51:07 +01:00
|
|
|
nixpkgs.overlays = [
|
|
|
|
(final: prev: {
|
|
|
|
waybar = prev.waybar.overrideAttrs (oldAttrs: {
|
|
|
|
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
|
|
|
});
|
|
|
|
})
|
|
|
|
];
|
2023-08-02 10:23:16 +01:00
|
|
|
environment.systemPackages = with pkgs; [
|
2023-09-11 13:47:08 +01:00
|
|
|
libsForQt5.polkit-kde-agent
|
2023-08-02 10:23:16 +01:00
|
|
|
xdg-utils
|
2023-08-21 11:01:19 +01:00
|
|
|
wlr-randr
|
|
|
|
hyprpaper
|
2023-08-08 08:21:51 +01:00
|
|
|
pipewire
|
|
|
|
wireplumber
|
2023-09-05 18:44:29 +01:00
|
|
|
wtype
|
2023-08-08 08:21:51 +01:00
|
|
|
wl-clipboard
|
2023-10-14 20:49:30 +01:00
|
|
|
watershot.packages.${pkgs.system}.default
|
2023-08-08 08:21:51 +01:00
|
|
|
grim
|
|
|
|
slurp
|
|
|
|
swayimg
|
|
|
|
pamixer
|
|
|
|
pavucontrol
|
|
|
|
playerctl
|
|
|
|
brightnessctl
|
2023-08-02 10:23:16 +01:00
|
|
|
];
|
|
|
|
services = {
|
|
|
|
blueman.enable = true;
|
|
|
|
gvfs.enable = true;
|
|
|
|
tumbler.enable = true;
|
2023-09-30 08:10:21 +01:00
|
|
|
xserver.displayManager.defaultSession = "hyprland";
|
2023-08-02 10:23:16 +01:00
|
|
|
};
|
2023-09-13 17:43:20 +01:00
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
|
|
|
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
|
2023-08-08 08:21:51 +01:00
|
|
|
};
|
2023-08-03 16:01:13 +01:00
|
|
|
programs = {
|
2023-08-08 10:45:13 +01:00
|
|
|
hyprland = {
|
|
|
|
enable = true;
|
2023-09-11 23:04:29 +01:00
|
|
|
xwayland.enable = true;
|
2023-08-08 10:45:13 +01:00
|
|
|
};
|
2023-08-03 16:01:13 +01:00
|
|
|
thunar = {
|
|
|
|
enable = true;
|
|
|
|
plugins = with pkgs.xfce; [ thunar-archive-plugin thunar-volman ];
|
|
|
|
};
|
2023-10-06 13:56:11 +01:00
|
|
|
firefox.package = pkgs.firefox-wayland;
|
2023-08-03 16:01:13 +01:00
|
|
|
};
|
2023-08-02 10:23:16 +01:00
|
|
|
}
|