fixed desktop

This commit is contained in:
ari committed 2024-04-24 19:08:52 -04:00
1 parent ccd4eb8607
commit 7e7dce23cb
4 files changed
+191 -222

No files matched your search

+30 -20
View File
@@ -1,35 +1,45 @@
{ user }:
{ pkgs, ... }:
{
programs.hyprland.enable = true;
programs.hyprland = {
enable = true;
};
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
};
programs.waybar.enable = true;
environment.systemPackages = with pkgs; [
# common utilities
busybox
scdoc
mpv
gcc
# apps
kitty
xdg-desktop-portal-hyprland
dunst
# sound
pavucontrol
# notification daemon
dunst
libnotify
# hypland
lxqt.lxqt-policykit
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
# networking
networkmanagerapplet
# waybar
meson
wayland-protocols
wayland-utils
wl-clipboard
wlroots
# app launchers
rofi-wayland
wofi
];
services.mpd.enable = true;
services.pipewire.enable = true;
services.pipewire.wireplumber.enable = true;
# security.polkit.enable = true;
users.users.${user.name}.extraGroups = [
"input"
];
# systemd = {
# user.services.polkit-gnome-authentication-agent-1 = {
# description = "polkit-gnome-authentication-agent-1";
# wantedBy = [ "graphical-session.target" ];
# wants = [ "graphical-session.target" ];
# after = [ "graphical-session.target" ];
# serviceConfig = {
# Type = "simple";
# ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
# Restart = "on-failure";
# RestartSec = 1;
# TimeoutStopSec = 10;
# };
# };
# };
}