mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-12 07:32:40 +02:00
fix: grim(wayland): Failed to create image. https://github.com/ryan4yin/nix-config/issues/11
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
{pkgs, hyprland, catppuccin-hyprland, ...}: {
|
{pkgs, hyprland, catppuccin-hyprland, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
hyprland.homeManagerModules.default
|
# hyprland.homeManagerModules.default
|
||||||
|
|
||||||
./anyrun.nix
|
./anyrun.nix
|
||||||
./wayland-apps.nix
|
./wayland-apps.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
wayland.windowManager.hyprland.enable = true;
|
# wayland.windowManager.hyprland.enable = true;
|
||||||
|
|
||||||
# hyprland configs, based on https://github.com/notwidow/hyprland
|
# hyprland configs, based on https://github.com/notwidow/hyprland
|
||||||
home.file.".config/hypr" = {
|
home.file.".config/hypr" = {
|
||||||
|
|||||||
@@ -10,9 +10,17 @@
|
|||||||
##########################################################################################################
|
##########################################################################################################
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
hyprland.nixosModules.default
|
# hyprland.nixosModules.default
|
||||||
];
|
];
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
wlr.enable = true;
|
||||||
|
extraPortals = with pkgs; [
|
||||||
|
xdg-desktop-portal-wlr
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
environment.pathsToLink = ["/libexec"]; # links /libexec from derivations to /run/current-system/sw
|
environment.pathsToLink = ["/libexec"]; # links /libexec from derivations to /run/current-system/sw
|
||||||
services = {
|
services = {
|
||||||
gvfs.enable = true; # Mount, trash, and other functionalities
|
gvfs.enable = true; # Mount, trash, and other functionalities
|
||||||
|
|||||||
Reference in New Issue
Block a user