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
|
|
@ -101,10 +101,6 @@ in {
|
||||||
|
|
||||||
builders-use-substitutes = mkDashDefault true;
|
builders-use-substitutes = mkDashDefault true;
|
||||||
|
|
||||||
substituters = [
|
|
||||||
"https://chaotic-nyx.cachix.org/"
|
|
||||||
];
|
|
||||||
|
|
||||||
trusted-substituters = [
|
trusted-substituters = [
|
||||||
"https://hyprland.cachix.org"
|
"https://hyprland.cachix.org"
|
||||||
"https://anyrun.cachix.org"
|
"https://anyrun.cachix.org"
|
||||||
|
|
@ -128,7 +124,6 @@ in {
|
||||||
"oxicalc.cachix.org-1:qF3krFc20tgSmtR/kt6Ku/T5QiG824z79qU5eRCSBTQ="
|
"oxicalc.cachix.org-1:qF3krFc20tgSmtR/kt6Ku/T5QiG824z79qU5eRCSBTQ="
|
||||||
"hyprdock.cachix.org-1:HaROK3fBvFWIMHZau3Vq1TLwUoJE8yRbGLk0lEGzv3Y="
|
"hyprdock.cachix.org-1:HaROK3fBvFWIMHZau3Vq1TLwUoJE8yRbGLk0lEGzv3Y="
|
||||||
"reset.cachix.org-1:LfpnUUdG7QM/eOkN7NtA+3+4Ar/UBeYB+3WH+GjP9Xo="
|
"reset.cachix.org-1:LfpnUUdG7QM/eOkN7NtA+3+4Ar/UBeYB+3WH+GjP9Xo="
|
||||||
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
|
|
||||||
"dashvim.cachix.org-1:uLRdxp1WOWHnsZZtu3SwUWZRsvC7SXo0Gyk3tIefuL0="
|
"dashvim.cachix.org-1:uLRdxp1WOWHnsZZtu3SwUWZRsvC7SXo0Gyk3tIefuL0="
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,6 @@
|
||||||
"https://oxicalc.cachix.org"
|
"https://oxicalc.cachix.org"
|
||||||
"https://hyprdock.cachix.org"
|
"https://hyprdock.cachix.org"
|
||||||
"https://reset.cachix.org"
|
"https://reset.cachix.org"
|
||||||
"https://chaotic-nyx.cachix.org/"
|
|
||||||
"https://dashvim.cachix.org"
|
"https://dashvim.cachix.org"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -46,7 +45,6 @@
|
||||||
"oxicalc.cachix.org-1:qF3krFc20tgSmtR/kt6Ku/T5QiG824z79qU5eRCSBTQ="
|
"oxicalc.cachix.org-1:qF3krFc20tgSmtR/kt6Ku/T5QiG824z79qU5eRCSBTQ="
|
||||||
"hyprdock.cachix.org-1:HaROK3fBvFWIMHZau3Vq1TLwUoJE8yRbGLk0lEGzv3Y="
|
"hyprdock.cachix.org-1:HaROK3fBvFWIMHZau3Vq1TLwUoJE8yRbGLk0lEGzv3Y="
|
||||||
"reset.cachix.org-1:LfpnUUdG7QM/eOkN7NtA+3+4Ar/UBeYB+3WH+GjP9Xo="
|
"reset.cachix.org-1:LfpnUUdG7QM/eOkN7NtA+3+4Ar/UBeYB+3WH+GjP9Xo="
|
||||||
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
|
|
||||||
"dashvim.cachix.org-1:uLRdxp1WOWHnsZZtu3SwUWZRsvC7SXo0Gyk3tIefuL0="
|
"dashvim.cachix.org-1:uLRdxp1WOWHnsZZtu3SwUWZRsvC7SXo0Gyk3tIefuL0="
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "unstable";
|
inputs.nixpkgs.follows = "unstable";
|
||||||
};
|
};
|
||||||
|
cachy.url = "github:xddxdd/nix-cachyos-kernel?rev=bb7b8aa687464f24dcd452354d9621331d6b0737";
|
||||||
|
|
||||||
sops-nix.url = "github:Mic92/sops-nix";
|
sops-nix.url = "github:Mic92/sops-nix";
|
||||||
|
|
||||||
|
|
@ -49,9 +50,6 @@
|
||||||
|
|
||||||
superfreq.url = "github:NotAShelf/superfreq";
|
superfreq.url = "github:NotAShelf/superfreq";
|
||||||
|
|
||||||
# absolute insanity
|
|
||||||
chaoticNyx.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
|
||||||
|
|
||||||
compose.url = "github:garnix-io/nixos-compose";
|
compose.url = "github:garnix-io/nixos-compose";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,8 @@
|
||||||
permittedInsecurePackages = permittedPackages;
|
permittedInsecurePackages = permittedPackages;
|
||||||
};
|
};
|
||||||
overlays = [
|
overlays = [
|
||||||
|
inputs.cachy.overlays.default
|
||||||
inputs.nur.overlays.default
|
inputs.nur.overlays.default
|
||||||
inputs.chaoticNyx.overlays.cache-friendly
|
|
||||||
];
|
];
|
||||||
inherit system;
|
inherit system;
|
||||||
};
|
};
|
||||||
|
|
@ -76,7 +76,6 @@ in {
|
||||||
../base
|
../base
|
||||||
../home
|
../home
|
||||||
../modules
|
../modules
|
||||||
inputs.chaoticNyx.nixosModules.default
|
|
||||||
];
|
];
|
||||||
home = [
|
home = [
|
||||||
inputs.anyrun.homeManagerModules.default
|
inputs.anyrun.homeManagerModules.default
|
||||||
|
|
@ -92,7 +91,6 @@ in {
|
||||||
inputs.reset.homeManagerModules.default
|
inputs.reset.homeManagerModules.default
|
||||||
inputs.sops-nix.homeManagerModules.sops
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
inputs.dashvim.homeManagerModules.dashvim
|
inputs.dashvim.homeManagerModules.dashvim
|
||||||
inputs.chaoticNyx.homeManagerModules.default
|
|
||||||
../modules
|
../modules
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,6 @@ import pkgs {
|
||||||
};
|
};
|
||||||
overlays = [
|
overlays = [
|
||||||
inputs.nur.overlays.default
|
inputs.nur.overlays.default
|
||||||
inputs.chaoticNyx.overlays.cache-friendly
|
inputs.cachy.overlays.default
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
13
lib/wm.nix
13
lib/wm.nix
|
|
@ -50,14 +50,11 @@ in {
|
||||||
];
|
];
|
||||||
hyprland = [
|
hyprland = [
|
||||||
# window rules
|
# window rules
|
||||||
"float,class:^(.*)(OxiCalc)(.*)$"
|
"match:class OxiCalc, float on"
|
||||||
"float,class:^(.*)(winecfg.exe)(.*)$"
|
"match:class winecfg.exe, float on"
|
||||||
"float,class:^(.*)(copyq)(.*)$"
|
"match:class copyq, float on"
|
||||||
"center,class:^(.*)(swappy)(.*)$"
|
"match:class swappy, center on"
|
||||||
"workspace 10 silent,class:^(.*)(steam)(.*)$"
|
"match:class steam, workspace 10 silent"
|
||||||
|
|
||||||
# Otherwise neovide will ignore tiling
|
|
||||||
"suppressevent fullscreen maximize,class:^(.*)(neovide)(.*)$"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,10 +34,10 @@
|
||||||
description = "Install gaming related packages";
|
description = "Install gaming related packages";
|
||||||
};
|
};
|
||||||
kernel = lib.mkOption {
|
kernel = lib.mkOption {
|
||||||
default = true;
|
default = false;
|
||||||
example = false;
|
example = true;
|
||||||
type = lib.types.bool;
|
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 {
|
steam = lib.mkOption {
|
||||||
default = true;
|
default = true;
|
||||||
|
|
@ -109,7 +109,7 @@
|
||||||
config = lib.mkIf config.mods.gaming.enable (
|
config = lib.mkIf config.mods.gaming.enable (
|
||||||
lib.optionalAttrs (options ? environment.systemPackages) {
|
lib.optionalAttrs (options ? environment.systemPackages) {
|
||||||
environment.systemPackages = config.mods.gaming.tools;
|
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) {
|
services.scx = lib.mkIf (config.mods.gaming.scheduler != null) {
|
||||||
enable = true;
|
enable = true;
|
||||||
inherit (config.mods.gaming) scheduler;
|
inherit (config.mods.gaming) scheduler;
|
||||||
|
|
|
||||||
|
|
@ -131,6 +131,7 @@
|
||||||
misc {
|
misc {
|
||||||
disable_splash_rendering = false
|
disable_splash_rendering = false
|
||||||
disable_hyprland_logo = true
|
disable_hyprland_logo = true
|
||||||
|
disable_xdg_env_checks = true
|
||||||
}
|
}
|
||||||
|
|
||||||
env=STATE_DIR,var/cache/regreet
|
env=STATE_DIR,var/cache/regreet
|
||||||
|
|
|
||||||
|
|
@ -119,11 +119,7 @@
|
||||||
flake-checker
|
flake-checker
|
||||||
gnome-keyring
|
gnome-keyring
|
||||||
gnutar
|
gnutar
|
||||||
(
|
regreet
|
||||||
if (options ? regreet)
|
|
||||||
then regreet
|
|
||||||
else greetd.regreet
|
|
||||||
)
|
|
||||||
killall
|
killall
|
||||||
kitty
|
kitty
|
||||||
libnotify
|
libnotify
|
||||||
|
|
|
||||||
|
|
@ -310,6 +310,7 @@ in {
|
||||||
enable_swallow = mkDashDefault true;
|
enable_swallow = mkDashDefault true;
|
||||||
disable_splash_rendering = mkDashDefault true;
|
disable_splash_rendering = mkDashDefault true;
|
||||||
disable_hyprland_logo = mkDashDefault true;
|
disable_hyprland_logo = mkDashDefault true;
|
||||||
|
disable_xdg_env_checks = mkDashDefault true;
|
||||||
swallow_regex = mkDashDefault "^(.*)(kitty)(.*)$";
|
swallow_regex = mkDashDefault "^(.*)(kitty)(.*)$";
|
||||||
initial_workspace_tracking = mkDashDefault 1;
|
initial_workspace_tracking = mkDashDefault 1;
|
||||||
# just doesn't work
|
# just doesn't work
|
||||||
|
|
@ -334,7 +335,7 @@ in {
|
||||||
layerrule = [
|
layerrule = [
|
||||||
# layer rules
|
# layer rules
|
||||||
# mainly to disable animations within slurp and grim
|
# mainly to disable animations within slurp and grim
|
||||||
"noanim, selection"
|
"match:namespace selection, no_anim on"
|
||||||
];
|
];
|
||||||
|
|
||||||
workspace = mkWorkspace config.mods.wm.workspaces;
|
workspace = mkWorkspace config.mods.wm.workspaces;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue