mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-09 05:39:49 +01:00
docs: clean up module installation chapters
This commit is contained in:
parent
fcc6aa485c
commit
eb6e8b17b7
2 changed files with 9 additions and 7 deletions
|
@ -44,12 +44,15 @@ Followed by importing the home-manager module somewhere in your configuration.
|
|||
};
|
||||
|
||||
outputs = { nixpkgs, home-manager, nvf, ... }: let
|
||||
system = "x86_64-linux"; in {
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
# ↓ this is your home output in the flake schema, expected by home-manager
|
||||
"your-username@your-hostname" = home-manager.lib.homeManagerConfiguration
|
||||
"your-username@your-hostname" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [
|
||||
nvf.homeManagerModules.default # <- this imports the home-manager module that provides the options
|
||||
./home.nix # <- your home entrypoint
|
||||
./home.nix # <- your home entrypoint, `programs.nvf.*` may be defined here
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -42,13 +42,12 @@ Followed by importing the NixOS module somewhere in your configuration.
|
|||
nvf.url = "github:notashelf/nvf";
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, nvf, ... }: let
|
||||
system = "x86_64-linux"; in {
|
||||
outputs = { nixpkgs, nvf, ... }: {
|
||||
# ↓ this is your host output in the flake schema
|
||||
nixosConfigurations."yourUsername»" = nixpkgs.lib.nixosSystem {
|
||||
nixosConfigurations."your-hostname" = nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
nvf.nixosModules.default # <- this imports the NixOS module that provides the options
|
||||
./configuration.nix # <- your host entrypoint
|
||||
./configuration.nix # <- your host entrypoint, `programs.nvf.*` may be defined here
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue