nixfiles/tree.nix

131 lines
3.3 KiB
Nix
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{inputs, ...}:
(inputs.tree.tree {
inherit inputs;
folder = ./.;
config = {
# Exclude things that would overlap with namespace things, potentially
"/" = {
excludes = [
"flake"
"default"
"tree"
"inputs"
"outputs"
"pkgs"
];
};
# Ignore the default.nix we actually use
shells = {
excludes = [
"default"
];
};
systems = {
excludes = [
"default"
];
};
common.functor.enable = true;
"home/*".functor.enable = true;
"home/profiles/*".functor.enable = true;
"home/environments/*".functor.enable = true;
"home/user".evaluateDefault = true;
"home/user/data".evaluate = true;
"nixos/*".functor.enable = true;
"nixos/profiles/*".functor = {
enable = true;
excludes = [
"scalpel"
];
};
"nixos/servers/*".functor = {
enable = true;
excludes = [
"scalpel"
];
};
"darwin/*".functor.enable = true;
"nixos/environments/*".functor.enable = true;
"systems/*".aliasDefault = true;
"packages/*".aliasDefault = true;
# Various modules
"modules/common" = {
functor = {
enable = true;
};
};
"nixos/hardware/conditional" = {
functor.enable = true;
};
"modules/system" = {
functor = {
enable = true;
};
};
"modules/nixos" = {
functor = {
enable = true;
external = with inputs; [
nix-index-database.nixosModules.nix-index
home-manager.nixosModules.home-manager
minecraft.nixosModules.minecraft-servers
sops-nix.nixosModules.sops
base16.nixosModules.base16
infrastructure.nixosModules.default
lanzaboote.nixosModules.lanzaboote
solaar.nixosModules.default
catppuccin.nixosModules.catppuccin
chaotic.nixosModules.default
nixpkgs-xr.nixosModules.nixpkgs-xr
spicetify-nix.nixosModules.spicetify
inputs.nix-gaming.nixosModules.ntsync
inputs.nix-gaming.nixosModules.pipewireLowLatency
inputs.nix-gaming.nixosModules.platformOptimizations
inputs.clipboard-sync.nixosModules.default
inputs.niri.nixosModules.niri
inputs.lix-module.nixosModules.default
inputs.nixos-cli.nixosModules.nixos-cli
inputs.nix-flatpak.nixosModules.nix-flatpak
];
};
};
"modules/darwin" = {
functor = {
enable = true;
external = with inputs; [
home-manager.darwinModules.home-manager
];
};
};
"modules/home" = {
functor = {
enable = true;
external = with inputs;
[
nix-index-database.hmModules.nix-index
base16.homeModules.base16
catppuccin.homeModules.catppuccin
inputs.sops-nix.homeManagerModules.sops
chaotic.homeManagerModules.default
spicetify-nix.homeManagerModules.spicetify
inputs.moonlight.homeModules.default
inputs.nix-flatpak.homeManagerModules.nix-flatpak
inputs.zen-browser.homeModules.default
]
++ (with (import (inputs.arcexprs + "/modules")).home-manager; [
i3gopher
weechat
syncplay
]);
};
};
};
})
.impure