parent
278e172881
commit
ed43e2a1f0
4 changed files with 1858 additions and 3 deletions
1832
home/qenya/.p10k.zsh
Normal file
1832
home/qenya/.p10k.zsh
Normal file
File diff suppressed because it is too large
Load diff
|
@ -3,6 +3,7 @@
|
||||||
./dconf
|
./dconf
|
||||||
./plasma
|
./plasma
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
|
./fontconfig.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
./tmux.nix
|
./tmux.nix
|
||||||
|
|
17
home/qenya/fontconfig.nix
Normal file
17
home/qenya/fontconfig.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{ config, lib, pkgs, osConfig, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
inherit (lib) mkIf;
|
||||||
|
isGraphical = osConfig.services.xserver.enable;
|
||||||
|
in
|
||||||
|
mkIf isGraphical {
|
||||||
|
fonts.fontconfig = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
meslo-lgs-nf
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.vscode.userSettings."terminal.integrated.fontFamily" = "MesloLGS NF";
|
||||||
|
}
|
|
@ -16,7 +16,7 @@
|
||||||
mv = "mv -i";
|
mv = "mv -i";
|
||||||
rename = "rename -i";
|
rename = "rename -i";
|
||||||
|
|
||||||
nix-shell = ''nix-shell --command "zsh"''; # TODO: tweak theme to display something when inside nix-shell
|
nix-shell = ''nix-shell --command "zsh"'';
|
||||||
};
|
};
|
||||||
|
|
||||||
history = {
|
history = {
|
||||||
|
@ -28,9 +28,14 @@
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = [ "git" "sudo" "direnv" ];
|
plugins = [ "git" "sudo" "direnv" ];
|
||||||
theme = "agnoster";
|
theme = ""; # defer to powerlevel10k
|
||||||
};
|
};
|
||||||
|
|
||||||
|
initExtra = ''
|
||||||
|
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
|
||||||
|
source ${./.p10k.zsh}
|
||||||
|
'';
|
||||||
|
|
||||||
envExtra = ''
|
envExtra = ''
|
||||||
DEFAULT_USER=qenya
|
DEFAULT_USER=qenya
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue