You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
100 lines
2.1 KiB
100 lines
2.1 KiB
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
|
|
home.username = "felix";
|
|
home.homeDirectory = "/home/felix";
|
|
|
|
imports = [ ./plasma.nix ];
|
|
|
|
home.file.".config/ssh-find-agent.sh".source = ./.config/ssh-find-agent.sh;
|
|
|
|
home.file.".config/alacritty" = {
|
|
source = ./.config/alacritty;
|
|
recursive = true;
|
|
};
|
|
|
|
# home.file.".config/i3/scripts" = {
|
|
# source = ./scripts;
|
|
# recursive = true; # link recursively
|
|
# executable = true; # make all files executable
|
|
# };
|
|
|
|
|
|
# encode the file content in nix configuration file directly
|
|
# home.file.".xxx".text = ''
|
|
# xxx
|
|
# '';
|
|
|
|
home.packages = with pkgs; [
|
|
# nix related
|
|
nix-output-monitor
|
|
bitwarden-desktop
|
|
] ++ (with pkgs.kdePackages; [
|
|
kcalc
|
|
kmail
|
|
partitionmanager
|
|
krita
|
|
]);
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "Felix Bruns";
|
|
userEmail = "felix@bruns.hamburg";
|
|
};
|
|
|
|
programs.vscode = {
|
|
enable = true;
|
|
};
|
|
|
|
# starship - an customizable prompt for any shell
|
|
programs.starship = {
|
|
enable = true;
|
|
# custom settings
|
|
settings = {
|
|
add_newline = false;
|
|
aws.disabled = true;
|
|
gcloud.disabled = true;
|
|
line_break.disabled = true;
|
|
};
|
|
};
|
|
|
|
programs.alacritty = {
|
|
enable = true;
|
|
settings = {
|
|
env.TERM = "xterm-256color";
|
|
font = {
|
|
size = 12;
|
|
draw_bold_text_with_bright_colors = true;
|
|
};
|
|
scrolling.multiplier = 5;
|
|
selection.save_to_clipboard = true;
|
|
};
|
|
};
|
|
|
|
programs.zsh = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
autosuggestion.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
shellAliases = {
|
|
ls = "exa -lh";
|
|
ll = "ls -a";
|
|
update = "sudo nixos-rebuild switch --impure";
|
|
};
|
|
initContent = lib.mkOrder 1500 ''
|
|
# source "~/.config/ssh-find-agend.sh"
|
|
emulate ksh -c "source ~/.config/ssh-find-agent.sh"
|
|
ssh-add -l >&/dev/null || ssh-find-agent -a || eval $(ssh-agent) > /dev/null
|
|
'';
|
|
|
|
history.size = 10000;
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
plugins = [ "git" ];
|
|
theme = "robbyrussell";
|
|
};
|
|
};
|
|
|
|
home.stateVersion = "25.05";
|
|
} |