nixos/flake.nix
rope 72246fc440 pin to nixos 26.05, drop hyprland/anyrun flakes
Stable restore point before 26.05 — last known good unstable config.

Unify all hosts on nixos-26.05 + home-manager release-26.05.
Drop hyprland, anyrun, nixpkgs-stable, home-manager-stable,
stylix-stable inputs. Hyprland 0.55.2 and anyrun 25.12.0 from
nixpkgs. Anyrun config via xdg.configFile (no HM module in 26.05).
Stylix on master until release-26.05 branch exists.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-30 11:12:09 +01:00

58 lines
1.5 KiB
Nix

{
description = "FredOS NixOS configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
home-manager = {
url = "github:nix-community/home-manager/release-26.05";
inputs.nixpkgs.follows = "nixpkgs";
};
zen-browser = {
url = "github:0xc000022070/zen-browser-flake";
inputs = {
nixpkgs.follows = "nixpkgs";
home-manager.follows = "home-manager";
};
};
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
proton-cachyos-nix.url = "github:powerofthe69/proton-cachyos-nix";
# No release-26.05 branch yet — use master until stylix cuts one.
stylix.url = "github:nix-community/stylix";
};
outputs =
{ self
, nixpkgs
, home-manager
, zen-browser
, nix-cachyos-kernel
, stylix
, proton-cachyos-nix
, ...
} @ inputs:
let
system = "x86_64-linux";
mkHost = hostname: extraModules: nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
modules = [
./hosts/${hostname}.nix
./hosts/hardware/${hostname}.nix
./common.nix
home-manager.nixosModules.home-manager
stylix.nixosModules.stylix
./settings/stylix.nix
] ++ extraModules;
};
in
{
nixosConfigurations = {
FredOS-Gaming = mkHost "FredOS-Gaming" [];
FredOS-Mediaserver = mkHost "FredOS-Mediaserver" [];
FredOS-Macbook = mkHost "FredOS-Macbook" [];
};
};
}