Compare commits
4 Commits
c13935fa92
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 356bddc938 | |||
| 9e61c71972 | |||
| 7610485ad0 | |||
| d05d9ba273 |
@@ -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;
|
||||
|
||||
|
||||
21
nixos/modules/users/nvf.nix
Normal file
21
nixos/modules/users/nvf.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
@@ -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
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -6,5 +6,6 @@
|
||||
curl
|
||||
bat
|
||||
nethogs
|
||||
git
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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}%} %# '
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user