general overhaul
This commit is contained in:
parent
39fb8c64dc
commit
d0a9427fd0
26 changed files with 657 additions and 2871 deletions
|
@ -20,8 +20,8 @@ let
|
|||
cursor_shape = "Beam";
|
||||
};
|
||||
defaultFont = {
|
||||
name = "Hack Nerd Font Mono";
|
||||
package = pkgs.nerdfonts;
|
||||
name = "Hack";
|
||||
package = pkgs.nerd-fonts.hack;
|
||||
size = 12;
|
||||
};
|
||||
in
|
||||
|
|
|
@ -60,7 +60,9 @@ in
|
|||
extraConfig = mkOpt str "" "Extra configuration for the user profile JS file.";
|
||||
userChrome = mkOpt str "" "Extra configuration for the user chrome CSS file.";
|
||||
settings = mkOpt attrs defaultSettings "Settings to apply to the profile.";
|
||||
extensions = mkOpt (listOf package) defaultExtensions "Extra Librewolf extensions to install.";
|
||||
extensions.packages =
|
||||
mkOpt (listOf package) defaultExtensions
|
||||
"Extra Librewolf extensions to install.";
|
||||
search = mkOpt attrs defaultSearch "Extra search engines to define.";
|
||||
};
|
||||
|
||||
|
@ -81,6 +83,7 @@ in
|
|||
name = "Philipp";
|
||||
isDefault = true;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
|
24
modules/home/apps/mpv/default.nix
Normal file
24
modules/home/apps/mpv/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
namespace,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.${namespace};
|
||||
let
|
||||
cfg = config.${namespace}.apps.mpv;
|
||||
in
|
||||
{
|
||||
options.${namespace}.apps.mpv = with types; {
|
||||
enable = mkBoolOpt false "Whether or not to enable mpv.";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
27
modules/home/apps/thunderbird/default.nix
Normal file
27
modules/home/apps/thunderbird/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
namespace,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.${namespace};
|
||||
let
|
||||
cfg = config.${namespace}.apps.thunderbird;
|
||||
in
|
||||
{
|
||||
options.${namespace}.apps.thunderbird = with types; {
|
||||
enable = mkBoolOpt false "Whether or not to enable Firefox.";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.thunderbird = {
|
||||
enable = true;
|
||||
|
||||
profiles."philipp" = {
|
||||
isDefault = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue