use snowfall
This commit is contained in:
@ -1,6 +1,22 @@
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
# Snowfall Lib provides a customized `lib` instance with access to your flake's library
|
||||
# as well as the libraries available from your flake's inputs.
|
||||
lib,
|
||||
# An instance of `pkgs` with your overlays and packages applied is also available.
|
||||
pkgs,
|
||||
# You also have access to your flake's inputs.
|
||||
inputs,
|
||||
|
||||
# Additional metadata is provided by Snowfall Lib.
|
||||
home, # The home architecture for this host (eg. `x86_64-linux`).
|
||||
target, # The Snowfall Lib target for this home (eg. `x86_64-home`).
|
||||
format, # A normalized name for the home target (eg. `home`).
|
||||
virtual
|
||||
, # A boolean to determine whether this home is a virtual target using nixos-generators.
|
||||
host, # The host name for this home.
|
||||
|
||||
# All other arguments come from the home home.
|
||||
config, ... }: {
|
||||
home.username = "julian";
|
||||
home.homeDirectory = "/home/julian";
|
||||
|
8
home-manager/modules/home/alacritty/alacritty.toml
Normal file
8
home-manager/modules/home/alacritty/alacritty.toml
Normal file
@ -0,0 +1,8 @@
|
||||
import = [
|
||||
"~/.config/alacritty/theme/themes/smoooooth.toml"
|
||||
]
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "fzf-z \r"
|
||||
key = "Z"
|
||||
mods = "Control"
|
@ -12,10 +12,7 @@ in {
|
||||
|
||||
home.file = {
|
||||
".config/alacritty/theme".source = "${inputs.alacritty-theme}";
|
||||
".config/alacritty" = {
|
||||
source = ../../alacritty;
|
||||
recursive = true;
|
||||
};
|
||||
".config/alacritty/alacritty.toml".source = ./alacritty.toml;
|
||||
};
|
||||
};
|
||||
}
|
@ -8,9 +8,7 @@ in {
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
home.file = {
|
||||
".config/starship.toml".source = ../../../../starship/starship.toml;
|
||||
};
|
||||
home.file = { ".config/starship.toml".source = ./starship.toml; };
|
||||
|
||||
home.packages = with pkgs; [ starship ];
|
||||
|
14
home-manager/modules/home/zsh/starship.toml
Normal file
14
home-manager/modules/home/zsh/starship.toml
Normal file
@ -0,0 +1,14 @@
|
||||
# newline between shell prompts
|
||||
add_newline = false
|
||||
#format = "$all$directory$character"
|
||||
|
||||
[line_break]
|
||||
disabled = true
|
||||
|
||||
[directory]
|
||||
fish_style_pwd_dir_length = 1
|
||||
|
||||
[status]
|
||||
map_symbol = true
|
||||
format = '[$symbol$status $common_meaning$signal_name$maybe_int]($style) '
|
||||
disabled = false
|
Reference in New Issue
Block a user