Compare commits

..

5 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
c13935fa92 build error 2025-11-20 17:16:04 +01:00
6 changed files with 44 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,19 +1,19 @@
{
pkgs,
config,
builtins,
...
}:
let
nvf = import (builtins.fetchTarball {
url = "https://github.com/notashelf/nvf/archive/v0.7.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

@@ -5,6 +5,7 @@ in {
(import ./zsh.nix {inherit pkgs user;})
./zoxide.nix
(import ./packages.nix {inherit pkgs user;})
./nvim.nix
];
# Define user account and dont forget to set a password with 'passwd'

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}%} %# '
'';
};