nixbook: nixvim

nixbook: add more nixvim plugins
This commit is contained in:
Tristan 2024-07-30 13:29:13 +01:00 committed by Tristan Beedell
parent ce02fb7bee
commit 88ce520e29
9 changed files with 470 additions and 193 deletions

View file

@ -4,8 +4,11 @@
user,
userFullname,
...
}: modules: home-modules: let
inherit (inputs) home-manager nixpkgs sops-nix;
}: {
nixos-modules ? [],
home-modules ? [],
}: let
inherit (inputs) home-manager nixpkgs sops-nix nixvim;
in
nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
@ -13,9 +16,8 @@ in
inherit system;
modules =
modules
nixos-modules
++ [
../nixos/modules/podman.nix
home-manager.nixosModules.home-manager
sops-nix.nixosModules.sops
{
@ -25,6 +27,7 @@ in
users.${user}.imports =
home-modules
++ [
nixvim.homeManagerModules.nixvim
../home/.
{
options.home.userFullname = nixpkgs.lib.mkOption {default = userFullname;};