use snowfall

This commit is contained in:
2024-02-01 12:28:31 +01:00
parent c2e80ffddd
commit d8e53f1f78
16 changed files with 160 additions and 55 deletions

View File

@ -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";

View File

@ -0,0 +1,8 @@
import = [
"~/.config/alacritty/theme/themes/smoooooth.toml"
]
[[keyboard.bindings]]
chars = "fzf-z \r"
key = "Z"
mods = "Control"

View File

@ -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;
};
};
}

View File

@ -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 ];

View 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