chore: Use nixfmt reformat all nix source code
This commit is contained in:
parent
1cdf00cefe
commit
11337b8f9e
184 changed files with 2349 additions and 1943 deletions
|
|
@ -2,36 +2,39 @@
|
|||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
options = {
|
||||
david.programs.ghostty = {
|
||||
enable = lib.mkEnableOption "ghostty";
|
||||
};
|
||||
};
|
||||
config = let
|
||||
cfg = config.david.programs.ghostty;
|
||||
in (lib.mkIf cfg.enable {
|
||||
stylix.targets.ghostty.enable = false;
|
||||
programs.ghostty = lib.mkMerge [
|
||||
{
|
||||
enable = true;
|
||||
settings = {
|
||||
font-family = [
|
||||
"MonoLisa"
|
||||
"Source Han Sans SC"
|
||||
];
|
||||
font-size = lib.mkForce 17;
|
||||
theme = "Atom One Dark";
|
||||
background-opacity = 0.8;
|
||||
confirm-close-surface = "false";
|
||||
};
|
||||
}
|
||||
(lib.mkIf config.youthlic.programs.fish.enable {
|
||||
enableFishIntegration = true;
|
||||
})
|
||||
(lib.mkIf config.youthlic.programs.bash.enable {
|
||||
enableBashIntegration = true;
|
||||
})
|
||||
];
|
||||
});
|
||||
config =
|
||||
let
|
||||
cfg = config.david.programs.ghostty;
|
||||
in
|
||||
(lib.mkIf cfg.enable {
|
||||
stylix.targets.ghostty.enable = false;
|
||||
programs.ghostty = lib.mkMerge [
|
||||
{
|
||||
enable = true;
|
||||
settings = {
|
||||
font-family = [
|
||||
"MonoLisa"
|
||||
"Source Han Sans SC"
|
||||
];
|
||||
font-size = lib.mkForce 17;
|
||||
theme = "Atom One Dark";
|
||||
background-opacity = 0.8;
|
||||
confirm-close-surface = "false";
|
||||
};
|
||||
}
|
||||
(lib.mkIf config.youthlic.programs.fish.enable {
|
||||
enableFishIntegration = true;
|
||||
})
|
||||
(lib.mkIf config.youthlic.programs.bash.enable {
|
||||
enableBashIntegration = true;
|
||||
})
|
||||
];
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue