nix/flake.nix
2026-02-12 18:53:24 +00:00

92 lines
2.3 KiB
Nix

{
description = "main nixos flake :3";
inputs = {
systems.url = "github:nix-systems/default";
# WARNING: don't remove duplicate!! (cry64 will fix)
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/staging-next";
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
cerulean = {
url = "github:emilelcb/Cerulean";
inputs = {
systems.follows = "systems";
nixpkgs.follows = "nixpkgs";
nixpkgs-unstable.follows = "nixpkgs-unstable";
};
};
cachyos.url = "github:xddxdd/nix-cachyos-kernel";
nix-alien = {
# silly alien :3
url = "github:thiagokokada/nix-alien";
# inputs.nixpkgs.follows = "nixpkgs";
};
# wm/de/apps/theming flakes
hyprland-git = {
url = "github:hyprwm/Hyprland/25250527793eb04bb60f103abe7f06370b9f6e1c";
#url = "github:hyprwm/Hyprland";
};
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland-git";
};
nixcats.url = "github:BirdeeHub/nixCats-nvim";
awww.url = "git+https://codeberg.org/LGFae/awww";
zen.url = "github:0xc000022070/zen-browser-flake";
iamb.url = "github:ulyssa/iamb";
spicetify-nix.url = "github:Gerg-L/spicetify-nix";
nixcord.url = "github:FlameFlag/nixcord";
millennium.url = "github:trivaris/millennium?dir=packages/nix";
# temp theme until i bother creating my own </3
sddm-silent = {
url = "github:uiriansan/SilentSDDM";
inputs.nixpkgs.follows = "nixpkgs";
};
};
nixConfig = {
extra-experimental-features = "pipe-operators";
};
outputs = {cerulean, ...} @ inputs:
cerulean.mkNexus ./. (self: {
nexus = {
overlays = with inputs; [
cachyos.overlays.pinned
millennium.overlays.default
(import ./overlays.nix)
];
specialArgs = {inherit inputs;};
extraPkgConfig = {
config.allowUnfree = true;
};
extraModules = with inputs; [
home-manager.nixosModules.home-manager
];
nodes = {
nixarawrui = {
system = "x86_64-linux";
extraModules = with inputs; [
sddm-silent.nixosModules.default
];
};
};
};
});
}