File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
docs/manual/installation/modules Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -44,12 +44,15 @@ Followed by importing the home-manager module somewhere in your configuration.
4444 };
4545
4646 outputs = { nixpkgs, home-manager, nvf, ... }: let
47- system = "x86_64-linux"; in {
47+ system = "x86_64-linux";
48+ pkgs = nixpkgs.legacyPackages.${system};
49+ in {
4850 # ↓ this is your home output in the flake schema, expected by home-manager
49- "your-username@your-hostname" = home-manager.lib.homeManagerConfiguration
51+ "your-username@your-hostname" = home-manager.lib.homeManagerConfiguration {
52+ inherit pkgs;
5053 modules = [
5154 nvf.homeManagerModules.default # <- this imports the home-manager module that provides the options
52- ./home.nix # <- your home entrypoint
55+ ./home.nix # <- your home entrypoint, `programs.nvf.*` may be defined here
5356 ];
5457 };
5558 };
Original file line number Diff line number Diff line change @@ -42,13 +42,12 @@ Followed by importing the NixOS module somewhere in your configuration.
4242 nvf.url = "github:notashelf/nvf";
4343 };
4444
45- outputs = { nixpkgs, nvf, ... }: let
46- system = "x86_64-linux"; in {
45+ outputs = { nixpkgs, nvf, ... }: {
4746 # ↓ this is your host output in the flake schema
48- nixosConfigurations."yourUsername» " = nixpkgs.lib.nixosSystem {
47+ nixosConfigurations."your-hostname " = nixpkgs.lib.nixosSystem {
4948 modules = [
5049 nvf.nixosModules.default # <- this imports the NixOS module that provides the options
51- ./configuration.nix # <- your host entrypoint
50+ ./configuration.nix # <- your host entrypoint, `programs.nvf.*` may be defined here
5251 ];
5352 };
5453 };
You can’t perform that action at this time.
0 commit comments