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

View File

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

View File

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