26 lines
436 B
Nix
26 lines
436 B
Nix
{
|
|
perInput,
|
|
# TODO: Figure out a nicer way of doing this without infrec?
|
|
isLinux,
|
|
}:
|
|
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
options,
|
|
...
|
|
}:
|
|
{
|
|
_file = ./default.nix;
|
|
|
|
imports = [
|
|
(import ./sane-defaults.nix { inherit isLinux; })
|
|
(import ./flake-qol.nix { inherit perInput; })
|
|
./user.nix
|
|
(import ./programs { inherit isLinux; })
|
|
];
|
|
|
|
options.settei = with lib; {
|
|
username = mkOption { type = types.str; };
|
|
};
|
|
}
|