Reformatted with nixfmt

This commit is contained in:
alejandro-angulo 2025-03-31 22:34:25 -07:00
parent f51256c3ae
commit 3f16537322
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
80 changed files with 1454 additions and 992 deletions

View file

@ -1,10 +1,11 @@
{
config,
lib,
osConfig ? {},
osConfig ? { },
namespace,
...
}: {
}:
{
options.${namespace} = {
isHeadless = lib.mkOption {
type = lib.types.bool;
@ -20,15 +21,13 @@
};
config = lib.mkMerge [
(
lib.mkIf (!config.${namespace}.isHeadless) {
${namespace} = {
programs.firefox.enable = true;
programs.kitty.enable = true;
windowManagers.sway.enable = true;
};
}
)
(lib.mkIf (!config.${namespace}.isHeadless) {
${namespace} = {
programs.firefox.enable = true;
programs.kitty.enable = true;
windowManagers.sway.enable = true;
};
})
(lib.mkIf (config.${namespace}.installDefaults) {
${namespace} = {
apps = {