Compare commits

..

4 Commits

Author SHA1 Message Date
356bddc938 cleanup 2025-11-21 18:30:22 +01:00
9e61c71972 moved nvf to nvf.nix and added nvim 2025-11-21 18:29:49 +01:00
7610485ad0 added git 2025-11-21 18:29:21 +01:00
d05d9ba273 added colored prompt 2025-11-21 18:29:07 +01:00
5 changed files with 42 additions and 23 deletions

View File

@@ -27,16 +27,6 @@
cifs-utils
];
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
# programs.gnupg.agent = {
# enable = true;
# enableSSHSupport = true;
# };
# List services that you want to enable:
# Enable the OpenSSH daemon.
services.openssh.enable = true;

View File

@@ -0,0 +1,21 @@
{
pkgs,
config,
builtins,
...
}:
let
nvf = import (builtins.fetchTarball {
url = "https://github.com/notashelf/nvf/archive/v0.8.tar.gz";
# Optionally, you can add 'sha256' for verification and caching
# sha256 = "<sha256>";
});
in{
imports = [
nvf.nixosModules.nvf
];
programs.nvf = {
enable = true;
};
}

View File

@@ -1,20 +1,19 @@
{
pkgs,
config,
builtins,
...
}:
let
nvf = import (builtins.fetchTarball {
url = "https://github.com/notashelf/nvf/archive/v0.8.tar.gz";
# Optionally, you can add 'sha256' for verification and caching
# sha256 = "<sha256>";
});
in{
imports = [
nvf.nixosModules.nvf
];
programs.nvf = {
}: {
programs.neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
configure = {
customRC = ''
set number
'';
};
};
}

View File

@@ -6,5 +6,6 @@
curl
bat
nethogs
git
];
}

View File

@@ -22,11 +22,19 @@
"HIST_IGNORE_SPACE"
"EXTENDED_GLOB"
"CORRECT"
# "PROMPT_SUBST"
];
shellInit = ''
eval "$(fzf --zsh)"
alias ..="cd .."
alias ...="cd ../.."
bindkey -e
# export %# '
'';
promptInit = ''
PS1='%{%F{green}%}%n@%m %{%F{blue}%}%~%{%f%}%{%F{white}%} %# '
'';
};