summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorozpv <39195175+ozpv@users.noreply.github.com>2024-08-24 06:21:15 +0000
committerGitHub <noreply@github.com>2024-08-24 06:21:15 +0000
commitc85ba298330d2743761c9f47bd4a97bb464968b2 (patch)
tree78787752fdfa598c09ed0b78b2441d9f4fac4bf3 /flake.nix
parentc110f7dedf1666db7b212ed470bae5d56a9b3874 (diff)
add nixvim and spicetify
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix17
1 files changed, 15 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 56b25d5..a78b6ce 100644
--- a/flake.nix
+++ b/flake.nix
@@ -8,9 +8,20 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
+
+ nixvim = {
+ url = "github:nix-community/nixvim";
+ # If using a stable channel you can use `url = "github:nix-community/nixvim/nixos-<version>"`
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+
+ spicetify-nix = {
+ url = "github:Gerg-L/spicetify-nix";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
};
- outputs = { self, nixpkgs, ... }@inputs:
+ outputs = { nixpkgs, home-manager, nixvim, spicetify-nix, ... }@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
@@ -20,7 +31,9 @@
specialArgs = {inherit inputs;};
modules = [
./configuration.nix
- inputs.home-manager.nixosModules.default
+ home-manager.nixosModules.home-manager {
+ home-manager.extraSpecialArgs = { inherit inputs; };
+ }
];
};
devShells.x86_64-linux = {