This commit is contained in:
LunarAkai 2025-03-13 22:02:11 +01:00
commit 419acfce64
5 changed files with 229 additions and 5 deletions

View file

@ -3,6 +3,8 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nvf.url = "github:notashelf/nvf";
home-manager = {
url = "github:nix-community/home-manager";
@ -10,15 +12,23 @@
};
};
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
outputs = { self, nixpkgs, home-manager, nvf, ... }@inputs: {
# use "nixos", or your hostname as the name of the configuration
# it's a better practice than "default" shown in the video
nixosConfigurations = {
packages."x86_64-linux".default =
(nvf.lib.neovimConfiguration {
pkgs = nixpkgs.legacyPackages."x86_64-linux";
modules = [ ./nvf-configuration.nix ];
}).neovim;
nixosConfigurations = {
nixos = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = [
modules = [
./configuration.nix
inputs.home-manager.nixosModules.default
nvf.nixosModules.default
];
};
};