mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +00:00
set flake registry to flake nixpkgs
This commit is contained in:
parent
2c0cc201e9
commit
4e15c21df7
@ -10,6 +10,8 @@ nixpkgs.lib.nixosSystem {
|
|||||||
{
|
{
|
||||||
networking.hostName = "desktop";
|
networking.hostName = "desktop";
|
||||||
nixpkgs.overlays = [ nur.overlay ];
|
nixpkgs.overlays = [ nur.overlay ];
|
||||||
|
# Set registry to flake packages, used for nix X commands
|
||||||
|
registry.nixpkgs.flake = nixpkgs;
|
||||||
gaming.steam = true;
|
gaming.steam = true;
|
||||||
gaming.leagueoflegends = true;
|
gaming.leagueoflegends = true;
|
||||||
gaming.legendary = true;
|
gaming.legendary = true;
|
||||||
|
@ -121,6 +121,10 @@ M.packer = function(use)
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
vim.keymap.set("n", "<Leader>e", ":NvimTreeFindFileToggle<CR>", { silent = true })
|
vim.keymap.set("n", "<Leader>e", ":NvimTreeFindFileToggle<CR>", { silent = true })
|
||||||
|
|
||||||
|
-- https://github.com/kyazdani42/nvim-tree.lua/commit/fb8735e96cecf004fbefb086ce85371d003c5129
|
||||||
|
vim.g.loaded = 1
|
||||||
|
vim.g.loaded_netrwPlugin = 1
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -53,7 +53,11 @@
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set system channels, used for nix-shell commands
|
nix = {
|
||||||
nix = { nixPath = [ "nixpkgs=${pkgs.path}" ]; };
|
|
||||||
|
# Set channel to flake packages, used for nix-shell commands
|
||||||
|
nixPath = [ "nixpkgs=${pkgs.path}" ];
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user