fix lsd output, refactor

This commit is contained in:
Cyryl Płotnicki 2020-04-19 12:23:21 +01:00
parent 6bde9fe1c1
commit 27d3e5ab95
5 changed files with 32 additions and 33 deletions

View file

@ -50,7 +50,7 @@ in
autoPrune.enable = true;
};
fonts.fonts = with pkgs; [ powerline-fonts weather-icons material-icons source-code-pro fira-code noto-fonts-emoji emojione iosevka font-awesome ];
fonts.fonts = with pkgs; [ powerline-fonts weather-icons material-icons source-code-pro fira-code noto-fonts-emoji emojione iosevka font-awesome nerdfonts ];
services.haveged.enable = true;

28
nixos/home-common.nix Normal file
View file

@ -0,0 +1,28 @@
{ config, pkgs, ... }:
{
home.sessionVariables = {
LC_ALL="en_GB.UTF-8";
LANG="en_GB.UTF-8";
TERMINAL="alacritty";
CM_LAUNCHER="rofi";
PASSWORD_STORE_ENABLE_EXTENSIONS="true";
};
news.display = "show";
fonts.fontconfig.enable = true;
home.packages = with pkgs; [ nerdfonts ];
imports = [
./programs/tmux.nix
./programs/zsh.nix
./programs/vim.nix
./programs/alacritty.nix
./programs.nix
./links.nix
./cli.nix
./i3/home.nix
];
}

View file

@ -14,25 +14,11 @@ in
};
};
home.sessionVariables = {
PASSWORD_STORE_ENABLE_EXTENSIONS="true";
LC_ALL="en_GB.UTF-8";
LANG="en_GB.UTF-8";
};
news.display = "show";
targets.genericLinux.enable = true;
home.file.".gitconfig".source = ~/dev/dotfiles/.gitconfig.linux.form3;
home.file.".config/i3/status.toml".source = ~/dev/dotfiles/.config/i3/status-single-bat.toml;
imports = [
./programs/tmux.nix
./programs/zsh.nix
./programs/vim.nix
./programs/alacritty.nix
./programs.nix
./links.nix
./cli.nix
./i3/home.nix
./home-common.nix
];
}

View file

@ -14,27 +14,12 @@ in
};
};
home.sessionVariables = {
TERMINAL="alacritty";
CM_LAUNCHER="rofi";
PASSWORD_STORE_ENABLE_EXTENSIONS="true";
};
news.display = "show";
home.file.".config/i3/status.toml".source = ~/dev/dotfiles/.config/i3/status-double-bat.toml;
imports = [
./programs/tmux.nix
./programs/zsh.nix
./programs/alacritty.nix
./home-common.nix
./programs/git.nix
./programs/vim.nix
./programs.nix
./links.nix
./cli.nix
./gui.nix
./i3/home.nix
];
}

View file

@ -14,7 +14,7 @@
tabspaces = 4;
font = {
family = "Fira Code";
family = "Fira Code Nerd Font";
size = 8;
};