Use my own nixvim config

This commit is contained in:
MFlossmann 2024-07-03 02:27:30 +02:00
parent 48387d08e3
commit dac6fbb252
10 changed files with 48 additions and 15 deletions

View file

@ -41,8 +41,8 @@
programs.zsh.enable = true;
programs.neovim.enable = true;
programs.neovim.defaultEditor = true;
programs.neovim.enable = false;
programs.neovim.defaultEditor = false;
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.

View file

@ -1,12 +1,14 @@
{
config,
pkgs,
inputs,
...
}: {
# home.username = "prunebutt";
# home.homeDirectory = "/home/prunebutt";
home = let
user = "prunebutt";
_inputs = inputs;
in {
username = "${user}";
homeDirectory = "/home/${user}";
@ -17,7 +19,7 @@
# The home.packages option allows you to install Nix packages into your
# environment.
packages = with pkgs; [
packages = [
# # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
@ -32,7 +34,8 @@
# '')
## GNOME
gnomeExtensions.gsconnect
inputs.nixvim-config.packages.${pkgs.system}.default
];
};