mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-09 23:39:48 +01:00
deploy: eb6e8b17b7
This commit is contained in:
parent
92541304c9
commit
aa48e071c3
1 changed files with 9 additions and 7 deletions
16
index.xhtml
16
index.xhtml
|
@ -253,13 +253,12 @@ on your needs.</p><p>To use it, we first add the input flake.</p><pre><code clas
|
||||||
nvf.url = "github:notashelf/nvf";
|
nvf.url = "github:notashelf/nvf";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, nvf, ... }: let
|
outputs = { nixpkgs, nvf, ... }: {
|
||||||
system = "x86_64-linux"; in {
|
|
||||||
# ↓ this is your host output in the flake schema
|
# ↓ this is your host output in the flake schema
|
||||||
nixosConfigurations."yourUsername»" = nixpkgs.lib.nixosSystem {
|
nixosConfigurations."your-hostname" = nixpkgs.lib.nixosSystem {
|
||||||
modules = [
|
modules = [
|
||||||
nvf.nixosModules.default # <- this imports the NixOS module that provides the options
|
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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -313,12 +312,15 @@ depending on your needs.</p><p>To use it, we first add the input flake.</p><pre>
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, nvf, ... }: let
|
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
|
# ↓ 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 = [
|
modules = [
|
||||||
nvf.homeManagerModules.default # <- this imports the home-manager module that provides the options
|
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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue