begin migration to dendritic pattern

This commit is contained in:
greyweather committed 2026-08-27 00:50:33 +01:00
1 parent 4a081aef50
commit 7245e872f6
153 files changed
+3352 -53

No files matched your search

+10 -48
View File
@@ -1,14 +1,14 @@
{
description = "grey's custom NixOS config";
description = "grey's NixOS config";
inputs = {
nixpkgs = {
url = "github:nixos/nixpkgs/nixos-unstable";
};
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-mesa-overlay = {
url = "github:nixos/nixpkgs/e4f9df8a27c2b4871c665368e65bdb6852dd93e6";
};
flake-parts.url = "github:hercules-ci/flake-parts";
import-tree.url = "github:vic/import-tree";
nixpkgs-mesa-overlay.url = "github:nixos/nixpkgs/e4f9df8a27c2b4871c665368e65bdb6852dd93e6";
home-manager = {
url = "github:nix-community/home-manager";
@@ -57,48 +57,10 @@
inputs.nixpkgs.follows = "nixpkgs";
};*/
nix-cachyos-kernel = {
url = "github:xddxdd/nix-cachyos-kernel/release";
};
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
nix-flatpak = {
url = "github:gmodena/nix-flatpak/?ref=latest";
};
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
};
outputs = {self,nixpkgs,nixpkgs-mesa-overlay,home-manager,plasma-manager,stylix,...}@inputs: let
system = "x86_64-linux";
in {
nixosConfigurations = builtins.listToAttrs (map (name: {
inherit name;
value = nixpkgs.lib.nixosSystem {
modules = [
./hosts/${name}
stylix.nixosModules.stylix
home-manager.nixosModules.default {
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.grey = ./hosts/${name}/home.nix;
extraSpecialArgs = {
inherit inputs;
hostname = name;
stateVersion = "26.05";
};
};
}
];
specialArgs = {
inherit inputs;
inherit system;
hostname = name;
stateVersion = "26.05";
pkgs-mesa-overlay = import nixpkgs-mesa-overlay {
inherit system;
config.allowUnfree = true;
};
};
};
}) ["takamaki" "kitagawa" "nixos-vm"]);
};
outputs = inputs@{ self, flake-parts, import-tree, ... }: flake-parts.lib.mkFlake { inherit inputs; } (import-tree ./modules);
}