add: cachyos kernel, fixes

This commit is contained in:
elwrcl committed 2026-04-01 18:41:30 +03:00
1 parent 6fc21e1c27
commit 9c3140a764
4 files changed
+52 -40

No files matched your search

+35 -23
View File
@@ -3,7 +3,9 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
zen-browser.url = "github:0xc000022070/zen-browser-flake";
home-manager = {
@@ -25,31 +27,41 @@
outputs = inputs@{ self, nixpkgs, chaotic, home-manager, ... }:
let
system = "x86_64-linux";
chaoticOverlay = chaotic.overlays.default;
in {
nixosConfigurations = {
copland = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs system; zen-browser = inputs.zen-browser; };
modules = [
chaotic.nixosModules.default
home-manager.nixosModules.home-manager
{ nixpkgs.config.allowUnfree = true; }
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit inputs system; };
users.elars = import ./home;
};
}
./machine.nix
./nixos/default.nix
];
nixosConfigurations = {
copland = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs system;
zen-browser = inputs.zen-browser;
};
modules = [
chaotic.nixosModules.default
home-manager.nixosModules.home-manager
{
nixpkgs.overlays = [ chaoticOverlay ];
nixpkgs.config.allowUnfree = true;
}
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit inputs system; };
users.elars = import ./home;
};
}
./machine.nix
./nixos/default.nix
];
};
};
};
}