mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-27 20:01:29 +01: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, ...}: {
|
||||
imports = [
|
||||
hyprland.homeManagerModules.default
|
||||
# hyprland.homeManagerModules.default
|
||||
|
||||
./anyrun.nix
|
||||
./wayland-apps.nix
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland.enable = true;
|
||||
# wayland.windowManager.hyprland.enable = true;
|
||||
|
||||
# hyprland configs, based on https://github.com/notwidow/hyprland
|
||||
home.file.".config/hypr" = {
|
||||
|
||||
@@ -10,9 +10,17 @@
|
||||
##########################################################################################################
|
||||
|
||||
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
|
||||
services = {
|
||||
gvfs.enable = true; # Mount, trash, and other functionalities
|
||||
|
||||
Reference in New Issue
Block a user