From 08e6294366ed9a42b5b08e4d38f60567b91d858c Mon Sep 17 00:00:00 2001 From: Andrew Date: Sat, 30 Aug 2025 12:33:55 -0400 Subject: tmux and neovim config --- flake.nix | 73 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 40 insertions(+), 33 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 5d97a42..7b3bb7e 100644 --- a/flake.nix +++ b/flake.nix @@ -11,44 +11,51 @@ url = "github:nix-community/stylix"; inputs.nixpkgs.follows = "nixpkgs"; }; + nvf = { + url = "github:notashelf/nvf"; + }; }; - outputs = - { - self, - nixpkgs, - home-manager, - stylix, - ... - }@inputs: - let - lib = nixpkgs.lib; - system = "x86_64-linux"; - pkgs = import nixpkgs { + outputs = { + self, + nixpkgs, + home-manager, + stylix, + nvf, + ... + } @ inputs: let + lib = nixpkgs.lib; + system = "x86_64-linux"; + pkgs = import nixpkgs { + inherit system; + config.allowUnfree = true; + }; + skullNeovim = nvf.lib.neovimConfiguration { + inherit pkgs; + modules = [ + ./neovim.nix + ]; + }; + in { + nixosConfigurations = { + home = lib.nixosSystem { inherit system; - config.allowUnfree = true; - }; - in - { - nixosConfigurations = { - home = lib.nixosSystem { - inherit system; - modules = [ ./configuration.nix ]; - specialArgs = { - inherit inputs; - }; + modules = [./configuration.nix]; + specialArgs = { + inherit inputs; }; }; - homeConfigurations = { - andrew = home-manager.lib.homeManagerConfiguration { - inherit pkgs; - modules = [ - stylix.homeModules.stylix - ./home.nix - ]; - extraSpecialArgs = { inherit inputs; }; - }; + }; + homeConfigurations = { + andrew = home-manager.lib.homeManagerConfiguration { + inherit pkgs; + modules = [ + stylix.homeModules.stylix + ./home.nix + ]; + extraSpecialArgs = {inherit inputs skullNeovim;}; }; - }; + packages.${system}.skull-neovim = skullNeovim.neovim; + }; } -- cgit v1.3.1