Add multi-agent workflow config and flake skeleton
- CLAUDE.md orchestration policy, .claude/agents/mao-* agents, settings defaults - flake.nix inputs (nixpkgs-unstable, home-manager, agenix, disko, lanzaboote, nixos-hardware, hyprland, noctalia), lib.mkHost/mkInstaller - overlays: upstream Hyprland overlay, noctalia, additions, modifications - hosts/desktop: host options (AMD, Secure Boot, Hyprland, gaming) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J1cugeLkfFLZMpiztQ8TyN
This commit is contained in:
14 files changed
+621
No files matched your search
@@ -0,0 +1,7 @@
|
||||
# Adds this repository's own packages (./pkgs) to pkgs.
|
||||
{ inputs }:
|
||||
final: _prev:
|
||||
import ../pkgs {
|
||||
pkgs = final;
|
||||
inherit inputs;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
# Overlays exposed as `self.overlays.<name>`; `default` composes all of them
|
||||
# and is applied to every host (see lib/default.nix).
|
||||
{ inputs }:
|
||||
let
|
||||
inherit (inputs.nixpkgs) lib;
|
||||
in
|
||||
rec {
|
||||
# Hyprland's own upstream overlay: hyprland, xdg-desktop-portal-hyprland and
|
||||
# their hyprwm dependencies, built from the pinned `hyprland` flake input
|
||||
# against our nixpkgs.
|
||||
hyprland = inputs.hyprland.overlays.default;
|
||||
|
||||
# Noctalia from its flake, as published on noctalia.cachix.org.
|
||||
noctalia = import ./noctalia.nix { inherit inputs; };
|
||||
|
||||
# Our own packages from ./pkgs (install tooling and helpers).
|
||||
additions = import ./additions.nix { inherit inputs; };
|
||||
|
||||
# Tweaks to existing nixpkgs packages.
|
||||
modifications = import ./modifications.nix { inherit inputs; };
|
||||
|
||||
default = lib.composeManyExtensions [
|
||||
hyprland
|
||||
noctalia
|
||||
additions
|
||||
modifications
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
# Changes to existing nixpkgs packages. Add `name = prev.name.override { ... }`
|
||||
# or `.overrideAttrs` entries here; they apply system-wide and to home-manager
|
||||
# (useGlobalPkgs = true).
|
||||
{ inputs }:
|
||||
_final: prev: {
|
||||
# btop with AMD GPU monitoring (ROCm SMI) for the Radeon card.
|
||||
btop = prev.btop.override { rocmSupport = true; };
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
# Use the Noctalia build from its own flake. That flake does not follow our
|
||||
# nixpkgs, so the store path matches noctalia.cachix.org and is downloaded
|
||||
# instead of compiled.
|
||||
{ inputs }:
|
||||
final: _prev: {
|
||||
noctalia = inputs.noctalia.packages.${final.stdenv.hostPlatform.system}.default;
|
||||
}
|
||||
Reference in new issue
Block a user