Skip to content

Commit c78baee

Browse files
committed
chore: reformat with nixpkgs-fmt
1 parent 4ec430c commit c78baee

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

modules/home-manager/fzf.nix

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,19 @@ let
3434
--color=marker:#9ece6a,spinner:#9ece6a,header:#9ece6a"
3535
'';
3636
};
37-
in {
37+
in
38+
{
3839
options.programs.fzf.tokyonight = lib.tn.mkTokyonightOpt "tokyonight fzf";
3940
config = lib.mkMerge [
4041
(lib.mkIf cfg.enable {
41-
programs = let shell_theme = themes.${cfg.style};
42-
in {
43-
# these are .zsh files, but the syntax is compatible
44-
fish.interactiveShellInit = shell_theme;
45-
bash.initExtra = shell_theme;
46-
zsh.initExtra = shell_theme;
47-
};
42+
programs =
43+
let shell_theme = themes.${cfg.style};
44+
in {
45+
# these are .zsh files, but the syntax is compatible
46+
fish.interactiveShellInit = shell_theme;
47+
bash.initExtra = shell_theme;
48+
zsh.initExtra = shell_theme;
49+
};
4850
})
4951
];
5052
}

modules/home-manager/rofi.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ let cfg = config.programs.rofi.tokyonight;
33
in {
44
options.programs.rofi.tokyonight = (lib.tn.mkTokyonightOpt "tokyonight rofi")
55
// {
6-
variant = lib.mkOption {
7-
type = lib.types.enum [ "default" "big1" "big2" ];
8-
description =
9-
"Which variant to use, see: https://github.com/w8ste/Tokyonight-rofi-theme";
10-
default = "default";
11-
};
6+
variant = lib.mkOption {
7+
type = lib.types.enum [ "default" "big1" "big2" ];
8+
description =
9+
"Which variant to use, see: https://github.com/w8ste/Tokyonight-rofi-theme";
10+
default = "default";
1211
};
12+
};
1313
config = lib.mkMerge [
1414
(lib.mkIf cfg.enable {
1515
programs.rofi = {

modules/lib/mkImports.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ let
1212

1313
defaultSources = import ../../.sources;
1414
});
15-
in lib.pipe dir [
15+
in
16+
lib.pipe dir [
1617
builtins.readDir
1718
builtins.attrNames
1819
(lib.remove "default.nix")

0 commit comments

Comments
 (0)