Evie Litherland-Smith
a6f84783ab
Move some settings/packages from desktop.nix that should have been in hyprland.nix and make desktop properly generally relevant - switch gamescope.nix to import from desktop.nix now for less duplication Remove xserver/lightdm to just use greetd again, less overhead needed Switch gtklock back to swaylock, some issue with WLR implementations after update but swaylock still works fine
66 lines
1.4 KiB
Nix
66 lines
1.4 KiB
Nix
{ pkgs, ... }: {
|
|
imports =
|
|
[ ./desktop.nix ./emacs.nix ./nyxt.nix ./firefox.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
|
|
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
|
|
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;
|
|
programs = {
|
|
seahorse.enable = true;
|
|
dconf.enable = true;
|
|
light.enable = true;
|
|
noisetorch.enable = true;
|
|
hyprland = {
|
|
enable = true;
|
|
xwayland.enable = true;
|
|
};
|
|
};
|
|
}
|