feat: enable chaotic repo and install cachyos kernel on andromedae

This commit is contained in:
Dmitriy Kholkin 2025-07-04 14:22:16 +03:00
parent c0a14472f3
commit b3b2d2b924
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2
3 changed files with 16 additions and 3 deletions

View File

@ -33,6 +33,7 @@
ataraxiasjel-nur.url = "github:AtaraxiaSjel/nur"; ataraxiasjel-nur.url = "github:AtaraxiaSjel/nur";
catppuccin.url = "github:catppuccin/nix"; catppuccin.url = "github:catppuccin/nix";
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
deploy-rs = { deploy-rs = {
url = "github:serokell/deploy-rs"; url = "github:serokell/deploy-rs";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -98,6 +99,8 @@
}; };
systemModules = [ systemModules = [
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops
inputs.chaotic.nixosModules.nyx-cache
inputs.chaotic.nixosModules.nyx-overlay
./modules/nixos ./modules/nixos
]; ];
homeModules = [ ./modules/home ]; homeModules = [ ./modules/home ];

View File

@ -24,8 +24,12 @@
# }; # };
# }; # };
services.scx.enable = true;
services.scx.scheduler = "scx_rustland";
boot = { boot = {
zfs.package = pkgs.zfs_unstable; kernelPackages = pkgs.linuxPackages_cachyos;
zfs.package = pkgs.zfs_cachyos;
loader = { loader = {
grub = { grub = {

View File

@ -5,7 +5,12 @@
... ...
}: }:
let let
inherit (lib) mkDefault mkEnableOption mkIf; inherit (lib)
mkDefault
mkEnableOption
mkIf
mkOverride
;
cfg = config.ataraxia.defaults.boot; cfg = config.ataraxia.defaults.boot;
in in
@ -30,7 +35,8 @@ in
"zswap.enabled=0" "zswap.enabled=0"
]; ];
kernelPackages = pkgs.linuxPackages_xanmod_latest; kernelPackages = mkOverride 900 pkgs.linuxPackages_xanmod_latest;
zfs.package = mkOverride 900 pkgs.zfs_unstable;
consoleLogLevel = 3; consoleLogLevel = 3;