devos/doc/mkFlakeOptions.md
2021-04-27 12:52:16 -07:00

4.2 KiB

channels

nixpkgs channels to create

Type: attribute set of submodules

Default

{}

channels.<name>.config

nixpkgs config for this channel

Type: attribute set or path convertible to it

Default

{}

channels.<name>.input

nixpkgs flake input to use for this channel

Type: nix flake

Default

"inputs.<name>"

channels.<name>.overlays

overlays to apply to this channel these will get exported under the 'overlays' flake output as <channel>/<name> and any overlay pulled from ${inputs} will be filtered out

Type: list of valid Nixpkgs overlay or path convertible to its or anything convertible to it

Default

[]

channelsConfig

nixpkgs config for all channels

Type: attribute set or path convertible to it

Default

{}

home

hosts, modules, suites, and profiles for home-manager

Type: submodule

Default

{}

home.externalModules

modules to include that won't be exported meant importing modules from external flakes

Type: list of valid module or path convertible to its

Default

[]

home.modules

modules to include in all hosts and export to homeModules output

Type: list of path to a modules or anything convertible to it or path convertible to it

Default

[]

home.profiles

profile folders that can be collected into suites the name of the argument passed to suites is based on the folder name. [ ./profiles ] => { profiles }:

Type: list of paths

Default

[]

home.suites

Function that takes profiles and returns suites for this config system These can be accessed through the 'suites' special argument.

Type: function that evaluates to a(n) attrs or path convertible to it

Default

"<function>"

inputs

inputs for this flake used to set channel defaults and create registry

Type: attribute set of nix flakes

nixos

hosts, modules, suites, and profiles for nixos

Type: submodule

Default

{}

nixos.hostDefaults

Defaults for all hosts. the modules passed under hostDefaults will be exported to the 'nixosModules' flake output. They will also be added to all hosts.

Type: submodule

Default

{}

nixos.hostDefaults.channelName

Channel this host should follow

Type: a channel defined in channels

Default

null

nixos.hostDefaults.externalModules

modules to include that won't be exported meant importing modules from external flakes

Type: list of valid module or path convertible to its

Default

[]

nixos.hostDefaults.modules

modules to include in all hosts and export to nixosModules output

Type: list of path to a modules or anything convertible to it or path convertible to it

Default

[]

nixos.hostDefaults.system

system for this host

Type: system defined in supportedSystems

Default

null

nixos.hosts

configurations to include in the nixosConfigurations output

Type: attribute set of submodules

Default

{}

nixos.hosts.<name>.channelName

Channel this host should follow

Type: a channel defined in channels

Default

null

nixos.hosts.<name>.modules

modules to include

Type: list of valid module or path convertible to its or anything convertible to it

Default

[]

nixos.hosts.<name>.system

system for this host

Type: system defined in supportedSystems

Default

null

nixos.profiles

profile folders that can be collected into suites the name of the argument passed to suites is based on the folder name. [ ./profiles ] => { profiles }:

Type: list of paths

Default

[]

nixos.suites

Function that takes profiles and returns suites for this config system These can be accessed through the 'suites' special argument.

Type: function that evaluates to a(n) attrs or path convertible to it

Default

"<function>"

self

The flake to create the devos outputs for

Type: nix flake

supportedSystems

The systems supported by this flake

Type: list of strings

Default

["aarch64-linux","i686-linux","x86_64-darwin","x86_64-linux"]