nixfmt everything

This commit is contained in:
rotterdam 2023-04-03 11:01:56 -03:00
parent dbf843d70f
commit d92420451d
30 changed files with 383 additions and 330 deletions

View file

@ -1,8 +1,5 @@
{ ... }:
{
imports = [
./home.nix
./programs.nix
];
imports = [ ./home.nix ./programs.nix ];
}

View file

@ -5,13 +5,14 @@
username = "user";
homeDirectory = "/home/user";
stateVersion = "22.05";
sessionVariables = {
EDITOR = "micro";
};
sessionVariables = { EDITOR = "micro"; };
file = {
".config/btop/themes/catppuccin_mocha.theme".source = "${inputs.dotfiles}/.config/btop/themes/catppuccin_mocha.theme";
".config/fish/themes/Catppuccin Mocha.theme".source = "${inputs.dotfiles}/.config/fish/themes/Catppuccin Mocha.theme";
".config/starship.toml".source = "${inputs.dotfiles}/.config/starship.toml";
".config/btop/themes/catppuccin_mocha.theme".source =
"${inputs.dotfiles}/.config/btop/themes/catppuccin_mocha.theme";
".config/fish/themes/Catppuccin Mocha.theme".source =
"${inputs.dotfiles}/.config/fish/themes/Catppuccin Mocha.theme";
".config/starship.toml".source =
"${inputs.dotfiles}/.config/starship.toml";
};
};
}

View file

@ -4,8 +4,8 @@
programs = {
password-store.enable = true;
bash = {
enable = true;
historyFile = "~/.cache/bash_history";
enable = true;
historyFile = "~/.cache/bash_history";
};
nix-index = {
enable = true;
@ -43,7 +43,7 @@
# loginShellInit = "nix-your-shell fish | source";
shellAliases = {
nano = "micro";
wget = "wget --hsts-file=\"$XDG_DATA_HOME/wget-hsts\"";
wget = ''wget --hsts-file="$XDG_DATA_HOME/wget-hsts"'';
};
functions = {
fish_greeting = "";
@ -53,7 +53,7 @@
set -g -x NNN_OPTS H
set -g -x FONTCONFIG_FILE ${pkgs.fontconfig.out}/etc/fonts/fonts.conf
'';
plugins = [
plugins = [
{
name = "bang-bang";
src = pkgs.fetchFromGitHub {