2023-12-31 13:20:31 +00:00
|
|
|
{ pkgs, ... }: {
|
2023-09-26 19:03:50 +01:00
|
|
|
imports = [ ./desktop.nix ];
|
2023-10-30 15:02:25 +00:00
|
|
|
nixpkgs.config.chromium.commandLineArgs =
|
|
|
|
"--enable-features=UseOzonePlatform --ozone-platform=wayland";
|
|
|
|
environment = {
|
2023-12-11 11:16:33 +00:00
|
|
|
sessionVariables = {
|
|
|
|
NIXOS_OZONE_WL = "1";
|
|
|
|
XDG_CURRENT_DESKTOP = "Hyprland";
|
|
|
|
XDG_SESSION_TYPE = "wayland";
|
|
|
|
XDG_SESSION_DESKTOP = "Hyprland";
|
|
|
|
GRIM_DEFAULT_DIR = "$HOME/Pictures/Grim";
|
|
|
|
};
|
2023-10-30 15:02:25 +00:00
|
|
|
systemPackages = with pkgs; [
|
|
|
|
libsForQt5.polkit-kde-agent
|
|
|
|
xdg-utils
|
|
|
|
wlr-randr
|
|
|
|
hyprpaper
|
|
|
|
pipewire
|
|
|
|
wireplumber
|
|
|
|
wtype
|
|
|
|
wl-clipboard
|
|
|
|
grim
|
2023-12-21 11:25:48 +00:00
|
|
|
slurp
|
2023-10-30 15:02:25 +00:00
|
|
|
swayimg
|
|
|
|
pamixer
|
|
|
|
pavucontrol
|
|
|
|
playerctl
|
|
|
|
brightnessctl
|
2023-12-21 11:25:48 +00:00
|
|
|
networkmanagerapplet
|
|
|
|
bluez
|
|
|
|
webcord
|
2023-10-30 15:02:25 +00:00
|
|
|
];
|
|
|
|
};
|
2023-08-02 10:23:16 +01:00
|
|
|
services = {
|
|
|
|
blueman.enable = true;
|
2023-11-04 15:51:05 +00:00
|
|
|
udisks2.enable = true;
|
2023-08-02 10:23:16 +01:00
|
|
|
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-10-15 09:10:16 +01:00
|
|
|
xdg.portal.enable = true;
|
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-08-02 10:23:16 +01:00
|
|
|
}
|