mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
refactor: statix, deadnix, alejandra
This commit is contained in:
parent
961ec369ba
commit
53eed4454d
57 changed files with 1296 additions and 963 deletions
74
tree.nix
Normal file
74
tree.nix
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
{inputs, ...}:
|
||||
(inputs.tree.tree {
|
||||
inherit inputs;
|
||||
folder = ./.;
|
||||
config = {
|
||||
# Exclude things that would overlap with namespace things, potentially
|
||||
"/" = {
|
||||
excludes = [
|
||||
"flake"
|
||||
"default"
|
||||
"tree"
|
||||
"inputs"
|
||||
"outputs"
|
||||
];
|
||||
};
|
||||
# Ignore the default.nix we actually use
|
||||
shells = {
|
||||
excludes = [
|
||||
"default"
|
||||
];
|
||||
};
|
||||
systems = {
|
||||
excludes = [
|
||||
"default"
|
||||
];
|
||||
};
|
||||
# Required for all-system common imports
|
||||
system.functor.enable = true;
|
||||
# Re-map home directory profiles
|
||||
home.evaluateDefault = true;
|
||||
# Allow profile importing
|
||||
"nixos/*".functor.enable = true;
|
||||
"darwin/*".functor.enable = true;
|
||||
"home/*".functor.enable = true;
|
||||
# Various modules
|
||||
"nixos/modules" = {
|
||||
functor = {
|
||||
enable = true;
|
||||
external = with inputs;
|
||||
[
|
||||
nix-index-database.nixosModules.nix-index
|
||||
home-manager.nixosModules.home-manager
|
||||
ragenix.nixosModules.age
|
||||
]
|
||||
++ (with (import (inputs.arcexprs + "/modules")).nixos; [
|
||||
base16
|
||||
base16-shared
|
||||
]);
|
||||
};
|
||||
};
|
||||
"darwin/modules" = {
|
||||
functor = {
|
||||
enable = true;
|
||||
external = with inputs; [
|
||||
home-manager.darwinModules.home-manager
|
||||
ragenix.nixosModules.age
|
||||
];
|
||||
};
|
||||
};
|
||||
"home/modules" = {
|
||||
functor = {
|
||||
enable = true;
|
||||
external = with inputs;
|
||||
[
|
||||
nix-index-database.hmModules.nix-index
|
||||
]
|
||||
++ (with (import (inputs.arcexprs + "/modules")).home-manager; [
|
||||
base16
|
||||
]);
|
||||
};
|
||||
};
|
||||
};
|
||||
})
|
||||
.impure
|
||||
Loading…
Add table
Add a link
Reference in a new issue