nixos/system/hyprland.nix

66 lines
1.5 KiB
Nix
Raw Normal View History

{ pkgs, ... }: {
imports = [ ./desktop.nix ./emacs.nix ./nyxt.nix ./chromium.nix ];
nixpkgs.config.chromium.commandLineArgs =
"--enable-features=UseOzonePlatform --ozone-platform=wayland";
environment = {
sessionVariables = {
NIXOS_OZONE_WL = "1";
XDG_CURRENT_DESKTOP = "Hyprland";
XDG_SESSION_TYPE = "wayland";
XDG_SESSION_DESKTOP = "Hyprland";
GRIM_DEFAULT_DIR = "$HOME/Pictures/Grim";
};
systemPackages = with pkgs; [
libsForQt5.polkit-kde-agent
swaylock
2024-01-03 19:18:40 +00:00
swaynotificationcenter
xdg-utils
hyprpaper
pipewire
wireplumber
wtype
wl-clipboard
grim
slurp
swayimg
pamixer
pavucontrol
playerctl
brightnessctl
networkmanagerapplet
bluez
protonvpn-cli
protonvpn-gui
transmission-gtk
mplayer
tagger
libreoffice
remmina
webcord
2024-01-03 13:37:44 +00:00
teams-for-linux
];
};
security.pam.services.swaylock = { };
services = {
blueman.enable = true;
udisks2.enable = true;
xserver.enable = false;
greetd.settings = let command = "Hyprland";
in {
default_session = { inherit command; };
initial_session = { inherit command; };
};
};
xdg.portal.enable = true;
2023-08-03 16:01:13 +01:00
programs = {
seahorse.enable = true;
dconf.enable = true;
light.enable = true;
noisetorch.enable = true;
hyprland = {
enable = true;
2023-09-11 23:04:29 +01:00
xwayland.enable = true;
};
2023-08-03 16:01:13 +01:00
};
}