set flake registry to flake nixpkgs

This commit is contained in:
Noah Masur 2022-09-17 21:15:31 -04:00
parent 2c0cc201e9
commit 4e15c21df7
3 changed files with 12 additions and 2 deletions

View File

@ -10,6 +10,8 @@ nixpkgs.lib.nixosSystem {
{
networking.hostName = "desktop";
nixpkgs.overlays = [ nur.overlay ];
# Set registry to flake packages, used for nix X commands
registry.nixpkgs.flake = nixpkgs;
gaming.steam = true;
gaming.leagueoflegends = true;
gaming.legendary = true;

View File

@ -121,6 +121,10 @@ M.packer = function(use)
},
})
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,
})

View File

@ -53,7 +53,11 @@
};
# Set system channels, used for nix-shell commands
nix = { nixPath = [ "nixpkgs=${pkgs.path}" ]; };
nix = {
# Set channel to flake packages, used for nix-shell commands
nixPath = [ "nixpkgs=${pkgs.path}" ];
};
}