chore(cachy): Use external flake and drop chaotic-nyx
This commit is contained in:
parent
f360e54590
commit
decd0f5110
10 changed files with 16 additions and 32 deletions
|
|
@ -34,10 +34,10 @@
|
|||
description = "Install gaming related packages";
|
||||
};
|
||||
kernel = lib.mkOption {
|
||||
default = true;
|
||||
example = false;
|
||||
default = false;
|
||||
example = true;
|
||||
type = lib.types.bool;
|
||||
description = "Whether to use the CachyOS kernel";
|
||||
description = "Whether to use the CachyOS kernel. WARNING: This is a manual compiled kernel!";
|
||||
};
|
||||
steam = lib.mkOption {
|
||||
default = true;
|
||||
|
|
@ -109,7 +109,7 @@
|
|||
config = lib.mkIf config.mods.gaming.enable (
|
||||
lib.optionalAttrs (options ? environment.systemPackages) {
|
||||
environment.systemPackages = config.mods.gaming.tools;
|
||||
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_cachyos;
|
||||
boot.kernelPackages = lib.mkForce pkgs.cachyosKernels.linuxPackages-cachyos-latest;
|
||||
services.scx = lib.mkIf (config.mods.gaming.scheduler != null) {
|
||||
enable = true;
|
||||
inherit (config.mods.gaming) scheduler;
|
||||
|
|
|
|||
|
|
@ -131,6 +131,7 @@
|
|||
misc {
|
||||
disable_splash_rendering = false
|
||||
disable_hyprland_logo = true
|
||||
disable_xdg_env_checks = true
|
||||
}
|
||||
|
||||
env=STATE_DIR,var/cache/regreet
|
||||
|
|
|
|||
|
|
@ -119,11 +119,7 @@
|
|||
flake-checker
|
||||
gnome-keyring
|
||||
gnutar
|
||||
(
|
||||
if (options ? regreet)
|
||||
then regreet
|
||||
else greetd.regreet
|
||||
)
|
||||
regreet
|
||||
killall
|
||||
kitty
|
||||
libnotify
|
||||
|
|
|
|||
|
|
@ -310,6 +310,7 @@ in {
|
|||
enable_swallow = mkDashDefault true;
|
||||
disable_splash_rendering = mkDashDefault true;
|
||||
disable_hyprland_logo = mkDashDefault true;
|
||||
disable_xdg_env_checks = mkDashDefault true;
|
||||
swallow_regex = mkDashDefault "^(.*)(kitty)(.*)$";
|
||||
initial_workspace_tracking = mkDashDefault 1;
|
||||
# just doesn't work
|
||||
|
|
@ -334,7 +335,7 @@ in {
|
|||
layerrule = [
|
||||
# layer rules
|
||||
# mainly to disable animations within slurp and grim
|
||||
"noanim, selection"
|
||||
"match:namespace selection, no_anim on"
|
||||
];
|
||||
|
||||
workspace = mkWorkspace config.mods.wm.workspaces;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue