mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
feat: add ryujinx
This commit is contained in:
parent
ff2ac40926
commit
f1207ea466
5 changed files with 10 additions and 6 deletions
|
@ -10,6 +10,7 @@
|
||||||
../../modules/linux/fonts
|
../../modules/linux/fonts
|
||||||
../../modules/linux/greeter
|
../../modules/linux/greeter
|
||||||
../../modules/linux/core
|
../../modules/linux/core
|
||||||
|
../../modules/linux/desktop-portal
|
||||||
../../overlays
|
../../overlays
|
||||||
|
|
||||||
apple-silicon.nixosModules.apple-silicon-support
|
apple-silicon.nixosModules.apple-silicon-support
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
../../modules/linux/greeter
|
../../modules/linux/greeter
|
||||||
../../modules/linux/core
|
../../modules/linux/core
|
||||||
../../modules/linux/hamachi
|
../../modules/linux/hamachi
|
||||||
|
../../modules/linux/desktop-portal
|
||||||
../../overlays
|
../../overlays
|
||||||
|
|
||||||
catppuccin.nixosModules.catppuccin
|
catppuccin.nixosModules.catppuccin
|
||||||
|
|
6
modules/linux/desktop-portal/default.nix
Normal file
6
modules/linux/desktop-portal/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
extraPortals = with pkgs; [xdg-desktop-portal-hyprland xdg-desktop-portal-gtk];
|
||||||
|
};
|
||||||
|
}
|
|
@ -351,10 +351,4 @@
|
||||||
after_sleep_cmd = "hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display.
|
after_sleep_cmd = "hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display.
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.portal = {
|
|
||||||
enable = true;
|
|
||||||
configPackages = [pkgs.xdg-desktop-portal-hyprland];
|
|
||||||
extraPortals = [pkgs.xdg-desktop-portal-hyprland];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,4 +35,6 @@ with pkgs; [
|
||||||
manga-tui
|
manga-tui
|
||||||
|
|
||||||
gcc
|
gcc
|
||||||
|
|
||||||
|
ryujinx
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue