summaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorAndrew <admonty1@protonmail.com>2025-08-30 12:33:55 -0400
committerAndrew <admonty1@protonmail.com>2025-08-30 12:33:55 -0400
commit08e6294366ed9a42b5b08e4d38f60567b91d858c (patch)
tree36268a87ff2898b9173939dc23ebfa110a5f21b4 /flake.nix
parentadd space after username in prompt for starship because it looks better (diff)
downloadnixos-08e6294366ed9a42b5b08e4d38f60567b91d858c.tar.gz
nixos-08e6294366ed9a42b5b08e4d38f60567b91d858c.tar.bz2
nixos-08e6294366ed9a42b5b08e4d38f60567b91d858c.zip
tmux and neovim config
Diffstat (limited to '')
-rw-r--r--flake.nix73
1 files changed, 40 insertions, 33 deletions
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;
+ };
}