mv librewolf and floorp to module

This commit is contained in:
smayzy 2025-07-09 00:14:56 +02:00
parent 198bd37782
commit 9ab7166714
6 changed files with 36 additions and 2 deletions

View File

@ -43,9 +43,7 @@
webcord
obsidian
libsForQt5.kdenlive
floorp
komikku
librewolf
blender
inkscape
];

View File

@ -2,5 +2,7 @@
{
imports = [
./firefox.nix
./floorp.nix
./librewolf.nix
];
}

View File

@ -0,0 +1,15 @@
{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.floorp.enable = mkOption {
type = types.bool;
default = false;
description = "floorp";
};
config = mkIf config.smayzy.floorp.enable {
programs.floorp.enable = true;
};
}

View File

@ -0,0 +1,15 @@
{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.librewolf.enable = mkOption {
type = types.bool;
default = false;
description = "librewolf";
};
config = mkIf config.smayzy.librewolf.enable {
programs.librewolf.enable = true;
};
}

View File

@ -15,6 +15,8 @@ in
steam.enable = true;
prism.enable = true;
firefox.enable = true;
floorp.enable = true;
librewolf.enable = true;
stylix.enable = true;
audio.enable = true;
};

View File

@ -15,6 +15,8 @@ in
grub-on-lap.enable = true;
prism.enable = true;
firefox.enable = true;
librewolf.enable = true;
floorp.enable = true;
stylix.enable = true;
audio.enable = true;
};