xdg fixes
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
exec-once = [
|
exec-once = [
|
||||||
# STARTUP
|
# STARTUP
|
||||||
# exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
# exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
# "systemctl --user start polkit-gnome-authentication-agent-1"
|
"systemctl --user start polkit-gnome-authentication-agent-1"
|
||||||
# exec-once = lxqt-policykit-agent &
|
# exec-once = lxqt-policykit-agent &
|
||||||
"waybar"
|
"waybar"
|
||||||
"pamixer --set-volume 50"
|
"pamixer --set-volume 50"
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
{config, ...}: {
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
xdg = {
|
xdg = {
|
||||||
userDirs = {
|
userDirs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -1,17 +1,7 @@
|
|||||||
{
|
{inputs, ...}: {
|
||||||
inputs,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
imports = [
|
||||||
inputs.hyprland.nixosModules.default
|
inputs.hyprland.nixosModules.default
|
||||||
];
|
];
|
||||||
environment.variables.NIXOS_OZONE_WL = "1";
|
environment.variables.NIXOS_OZONE_WL = "1";
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
xdg.portal = {
|
|
||||||
enable = true;
|
|
||||||
config.common.default = lib.mkForce ["hyprland" "kde"];
|
|
||||||
extraPortals = [pkgs.xdg-desktop-portal-kde];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
14
nixos/core/xdg.nix
Normal file
14
nixos/core/xdg.nix
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
xdgOpenUsePortal = true;
|
||||||
|
config = {
|
||||||
|
common.default = ["gtk"];
|
||||||
|
hyprland.default = ["gtk" "hyprland"];
|
||||||
|
};
|
||||||
|
|
||||||
|
extraPortals = [
|
||||||
|
pkgs.xdg-desktop-portal-gtk
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
let
|
let
|
||||||
desktop = [
|
desktop = [
|
||||||
./core/hyprland.nix
|
./core/hyprland.nix
|
||||||
|
./core/xdg.nix
|
||||||
./core/zsh.nix
|
./core/zsh.nix
|
||||||
./core/fonts.nix
|
./core/fonts.nix
|
||||||
./core/home-manager.nix
|
./core/home-manager.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user