summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix7
-rw-r--r--users/seth/default.nix2
-rw-r--r--users/seth/programs/neovim.nix10
3 files changed, 3 insertions, 16 deletions
diff --git a/flake.nix b/flake.nix
index fcd5a72..0ab6932 100644
--- a/flake.nix
+++ b/flake.nix
@@ -36,11 +36,7 @@
specialArgs ? {},
pkgs ? nixpkgsUnstable,
}:
- forAllSystems (system:
- import ./users/seth {
- inherit pkgs specialArgs system user;
- nixpkgsStable = nixpkgs;
- });
+ forAllSystems (system: import ./users/seth {inherit pkgs specialArgs system user;});
in {
homeConfigurations = forAllSystems (system: {
inherit ((seth {}).${system}.hm) seth;
@@ -79,7 +75,6 @@
name = "glados-wsl";
specialArgs = {
desktop = "";
- nixpkgsStable = nixpkgs;
standalone = false;
wsl = true;
};
diff --git a/users/seth/default.nix b/users/seth/default.nix
index 140eac8..c3241d0 100644
--- a/users/seth/default.nix
+++ b/users/seth/default.nix
@@ -3,7 +3,6 @@
specialArgs,
user,
system ? "x86_64-linux",
- nixpkgsStable,
}: let
common = {
username = "seth";
@@ -16,7 +15,6 @@ in
inherit system;
channel = pkgs;
extraSpecialArgs = {
- inherit nixpkgsStable;
standalone = true;
desktop = "";
};
diff --git a/users/seth/programs/neovim.nix b/users/seth/programs/neovim.nix
index 512e939..0f09c43 100644
--- a/users/seth/programs/neovim.nix
+++ b/users/seth/programs/neovim.nix
@@ -1,10 +1,4 @@
-{
- pkgs,
- nixpkgsStable,
- ...
-}: let
- treesitter-pinned = import nixpkgsStable {system = "x86_64-linux";};
-in {
+{pkgs, ...}: {
programs.neovim = {
enable = true;
defaultEditor = true;
@@ -42,7 +36,7 @@ in {
nvim-lspconfig
null-ls-nvim
nvim-tree-lua
- treesitter-pinned.pkgs.vimPlugins.nvim-treesitter.withAllGrammars
+ nvim-treesitter.withAllGrammars
nvim-web-devicons
plenary-nvim
telescope-nvim