theme.nix + generic.nix cleaner

This commit is contained in:
Your Name 2024-03-24 20:54:47 +03:00
parent 19452b4566
commit 8f1a04e28b
2 changed files with 15 additions and 14 deletions

View file

@ -1,6 +1,8 @@
{ pkgs, lib, inputs, unstable, ... }:
let
gtk-theme = "adw-gtk3-dark";
cursor-package = pkgs.bibata-cursors;
cursor-theme = "Bibata-Modern-Classic";
nerdfonts = (pkgs.nerdfonts.override {
fonts = [
@ -22,12 +24,12 @@ in {
adw-gtk3
nerdfonts
];
#sessionVariables.XCURSOR_THEME = cursor-theme;
sessionVariables.XCURSOR_THEME = cursor-theme;
pointerCursor = {
gtk.enable = true;
x11.enable = true;
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
package = cursor-package;
name = cursor-theme;
size = 8;
};
file = {
@ -47,11 +49,10 @@ in {
gtk = {
enable = true;
#font.name = "Iosevka Malie";
#theme.name = gtk-theme;
#cursorTheme = {
# name = cursor-theme;
# package = cursor-package;
#};
cursorTheme = {
name = cursor-theme;
package = cursor-package;
};
theme = {
name = "Catppuccin-Mocha-Compact-Lavender-Dark";

View file

@ -74,25 +74,24 @@ in {
git
micro
nano
fishPlugins.grc
fishPlugins.grc grc
fishPlugins.autopair
fishPlugins.z
fishPlugins.tide
fishPlugins.sponge
fishPlugins.fzf-fish
bat #for fzf-fish
fzf #for fzf-fish
fd #for fzf-fish
bat #for fzf-fish plugin
fzf #for fzf-fish plugin
fd #for fzf-fish plugin
sysz # systemctl with fzf
grc
nh
any-nix-shell
dnsutils
inetutils
killall
tree
eza # better ls, will check what's better
lsd # better ls, will check what's better
eza # better ls, will check what's better
(pkgs.writeScriptBin "reboot" ''read -p "Do you REALLY want to reboot? (y/N) " answer; [[ $answer == [Yy]* ]] && ${pkgs.systemd}/bin/reboot'')
];
@ -104,6 +103,7 @@ in {
rollback = "sudo nixos-rebuild switch --rollback --flake ~/Documents/dotfiles/";
haste = "HASTE_SERVER='https://haste.schizoposting.online' ${pkgs.haste-client}/bin/haste";
ls = "${pkgs.lsd}/bin/lsd";
ltree = "${pkgs.lsd}/bin/lsd --tree";
};
promptInit = ''
set TERM "xterm-256color"