Compare commits
2 Commits
63fe9b4ac9
...
257248db82
| Author | SHA1 | Date | |
|---|---|---|---|
| 257248db82 | |||
| d1dc44f4d4 |
19
nixos/modules/users/nvim.nix
Normal file
19
nixos/modules/users/nvim.nix
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
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 = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, user, ...}: {
|
||||||
users.users.users.packages = with pkgs; [
|
users.users.${user}.packages = with pkgs; [
|
||||||
btop
|
btop
|
||||||
ncdu
|
ncdu
|
||||||
tmux
|
tmux
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ in {
|
|||||||
imports = [
|
imports = [
|
||||||
(import ./zsh.nix {inherit pkgs user;})
|
(import ./zsh.nix {inherit pkgs user;})
|
||||||
./zoxide.nix
|
./zoxide.nix
|
||||||
|
(import ./packages.nix {inherit pkgs user;})
|
||||||
];
|
];
|
||||||
|
|
||||||
# Define user account and dont forget to set a password with 'passwd'
|
# Define user account and dont forget to set a password with 'passwd'
|
||||||
|
|||||||
Reference in New Issue
Block a user