Skip to content

Commit

Permalink
Stop using stylix for theming (#309)
Browse files Browse the repository at this point in the history
* Format lua files

* Remove stylix

* Set bat theme

* Set fzf theme

* Set helix theme

* Set wezterm theme

* Set zellij theme
  • Loading branch information
francishamel authored Sep 8, 2024
1 parent bf57e60 commit 7675155
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 303 deletions.
1 change: 1 addition & 0 deletions devshell/flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
deadnix.enable = true;
nixpkgs-fmt.enable = true;
prettier.enable = true;
stylua.enable = true;
};
};
};
Expand Down
264 changes: 0 additions & 264 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
flake-parts.url = "github:hercules-ci/flake-parts";

nixos-flake.url = "github:srid/nixos-flake";

stylix.url = "github:danth/stylix";
};

outputs = inputs@{ self, ... }:
Expand Down
1 change: 0 additions & 1 deletion home-manager/flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
./modules/helix.nix
./modules/ssh.nix
./modules/starship.nix
./modules/stylix.nix
./modules/terminal.nix
./modules/vscode.nix
./modules/wezterm.nix
Expand Down
5 changes: 4 additions & 1 deletion home-manager/modules/bat.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{ ... }:

{
programs.bat.enable = true;
programs.bat = {
enable = true;
config.theme = "Nord";
};
}
18 changes: 10 additions & 8 deletions home-manager/modules/fzf.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{ pkgs, ... }:

{
home.packages = [
pkgs.zsh-fzf-tab
];
home = {
packages = [ pkgs.zsh-fzf-tab ];
sessionVariables.FZF_DEFAULT_OPTS = "--color=bg+:#3B4252,bg:#2E3440,spinner:#81A1C1,hl:#616E88,fg:#D8DEE9,header:#616E88,info:#81A1C1,pointer:#81A1C1,marker:#81A1C1,fg+:#D8DEE9,prompt:#81A1C1,hl+:#81A1C1";
};

programs.zsh.initExtra = ''
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
'';

programs.fzf.enable = true;
programs = {
fzf.enable = true;
zsh.initExtra = ''
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
'';
};
}
1 change: 1 addition & 0 deletions home-manager/modules/helix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ in
end = "no_op";
};
};
theme = "nord";
};
};
}
20 changes: 0 additions & 20 deletions home-manager/modules/stylix.nix

This file was deleted.

Loading

0 comments on commit 7675155

Please sign in to comment.