Foot became a module
This commit is contained in:
parent
6b28554969
commit
e94b71fa67
4 changed files with 60 additions and 52 deletions
|
@ -1,46 +0,0 @@
|
|||
_: {
|
||||
programs.foot = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
dpi-aware = "yes";
|
||||
font = "Fira Code Nerd Font Mono:size=10";
|
||||
};
|
||||
mouse = {
|
||||
hide-when-typing = "yes";
|
||||
};
|
||||
colors = {
|
||||
|
||||
background = "181818";
|
||||
foreground = "d8d8d8";
|
||||
regular0 = "181818";
|
||||
regular1 = "ab4642";
|
||||
regular2 = "a1b56c";
|
||||
regular3 = "f7ca88";
|
||||
regular4 = "7cafc2";
|
||||
regular5 = "ba8baf";
|
||||
regular6 = "86c1b9";
|
||||
regular7 = "d8d8d8";
|
||||
bright0 = "585858";
|
||||
bright1 = "dc9656";
|
||||
bright2 = "282828";
|
||||
bright3 = "383838";
|
||||
bright4 = "b8b8b8";
|
||||
bright5 = "e8e8e8";
|
||||
bright6 = "a16946";
|
||||
bright7 = "f8f8f8";
|
||||
"16" = "dc9656";
|
||||
"17" = "a16946";
|
||||
"18" = "282828";
|
||||
"19" = "383838";
|
||||
"20" = "b8b8b8";
|
||||
"21" = "e8e8e8";
|
||||
selection-background = "d8d8d8";
|
||||
selection-foreground = "181818";
|
||||
urls = "b8b8b8";
|
||||
jump-labels = "181818 f7ca88";
|
||||
scrollback-indicator= "181818 b8b8b8";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
58
modules/home-manager/application/foot/default.nix
Normal file
58
modules/home-manager/application/foot/default.nix
Normal file
|
@ -0,0 +1,58 @@
|
|||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.application.zathura;
|
||||
in
|
||||
{
|
||||
options.modules.application.imv = {
|
||||
enable = mkEnableOption "enable IMV image viewer";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.foot = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
dpi-aware = "yes";
|
||||
font = "Fira Code Nerd Font Mono:size=10";
|
||||
};
|
||||
mouse = {
|
||||
hide-when-typing = "yes";
|
||||
};
|
||||
colors = {
|
||||
background = "181818";
|
||||
foreground = "d8d8d8";
|
||||
regular0 = "181818";
|
||||
regular1 = "ab4642";
|
||||
regular2 = "a1b56c";
|
||||
regular3 = "f7ca88";
|
||||
regular4 = "7cafc2";
|
||||
regular5 = "ba8baf";
|
||||
regular6 = "86c1b9";
|
||||
regular7 = "d8d8d8";
|
||||
bright0 = "585858";
|
||||
bright1 = "dc9656";
|
||||
bright2 = "282828";
|
||||
bright3 = "383838";
|
||||
bright4 = "b8b8b8";
|
||||
bright5 = "e8e8e8";
|
||||
bright6 = "a16946";
|
||||
bright7 = "f8f8f8";
|
||||
"16" = "dc9656";
|
||||
"17" = "a16946";
|
||||
"18" = "282828";
|
||||
"19" = "383838";
|
||||
"20" = "b8b8b8";
|
||||
"21" = "e8e8e8";
|
||||
selection-background = "d8d8d8";
|
||||
selection-foreground = "181818";
|
||||
urls = "b8b8b8";
|
||||
jump-labels = "181818 f7ca88";
|
||||
scrollback-indicator= "181818 b8b8b8";
|
||||
};
|
||||
csd = {
|
||||
preferred = "none";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./application/foot
|
||||
./application/imv
|
||||
./application/zathura
|
||||
./cli/git
|
||||
|
|
|
@ -64,12 +64,7 @@
|
|||
../hosts/${hostname}/home-config.nix
|
||||
../modules/home-manager/default.nix
|
||||
../home-manager/cli
|
||||
] ++ (if hostConfig.desktop then
|
||||
[
|
||||
../home-manager/foot.nix
|
||||
]
|
||||
else []
|
||||
) ++ lib.optional (
|
||||
] ++ lib.optional (
|
||||
builtins.pathExists ../home-manager/hosts/${hostname}.nix
|
||||
) ../home-manager/hosts/${hostname}.nix;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue