Compare commits
2 commits
83de2f8264
...
7513e6d1cf
Author | SHA1 | Date | |
---|---|---|---|
7513e6d1cf | |||
0d3d62b944 |
4 changed files with 24 additions and 0 deletions
13
modules/darwin/programs/floorp/default.nix
Normal file
13
modules/darwin/programs/floorp/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
cfg = config.marleyos.programs.floorp;
|
||||
in {
|
||||
options.marleyos.programs.floorp.enable = lib.mkEnableOption "floorp";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
homebrew.casks = ["floorp"];
|
||||
};
|
||||
}
|
|
@ -9,6 +9,8 @@
|
|||
inherit (lib.snowfall.system) is-darwin;
|
||||
|
||||
cfg = config.marleyos.appearance.base;
|
||||
|
||||
inherit (lib.snowfall.system) is-linux;
|
||||
inherit (config.marleyos) isDesktop;
|
||||
in {
|
||||
options.marleyos.appearance.base.enable = lib.mkEnableOption "base";
|
||||
|
|
|
@ -2,9 +2,12 @@
|
|||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
system,
|
||||
...
|
||||
}: let
|
||||
cfg = config.marleyos.programs.floorp;
|
||||
|
||||
inherit (lib.snowfall.system) is-darwin;
|
||||
in {
|
||||
options.marleyos.programs.floorp.enable = lib.mkEnableOption "floorp";
|
||||
|
||||
|
@ -19,6 +22,11 @@ in {
|
|||
programs.floorp = {
|
||||
enable = true;
|
||||
|
||||
package =
|
||||
if (is-darwin system)
|
||||
then pkgs.emptyDirectory
|
||||
else pkgs.floorp;
|
||||
|
||||
profiles = {
|
||||
"${config.marleyos.my.name}" = {
|
||||
extensions =
|
||||
|
|
|
@ -17,6 +17,7 @@ in {
|
|||
};
|
||||
programs = {
|
||||
fish = enabled;
|
||||
floorp = enabled;
|
||||
wezterm = enabled;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue