diff options
| author | Andrew <admonty1@protonmail.com> | 2025-08-30 12:33:55 -0400 |
|---|---|---|
| committer | Andrew <admonty1@protonmail.com> | 2025-08-30 12:33:55 -0400 |
| commit | 08e6294366ed9a42b5b08e4d38f60567b91d858c (patch) | |
| tree | 36268a87ff2898b9173939dc23ebfa110a5f21b4 /flake.nix | |
| parent | add space after username in prompt for starship because it looks better (diff) | |
| download | nixos-08e6294366ed9a42b5b08e4d38f60567b91d858c.tar.gz nixos-08e6294366ed9a42b5b08e4d38f60567b91d858c.tar.bz2 nixos-08e6294366ed9a42b5b08e4d38f60567b91d858c.zip | |
tmux and neovim config
Diffstat (limited to '')
| -rw-r--r-- | flake.nix | 73 |
1 files changed, 40 insertions, 33 deletions
@@ -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; + }; } |
