how to allow unfree? I want a working prototype on neovim config ASAP
parent
f80854b200
commit
184496d5e8
|
@ -100,7 +100,10 @@
|
||||||
myHome = {
|
myHome = {
|
||||||
username = "hwtr";
|
username = "hwtr";
|
||||||
homeDirectory = "/home/hwtr";
|
homeDirectory = "/home/hwtr";
|
||||||
packages = [ pkgs.nixgl.nixGLIntel pkgs.postman ];
|
packages = [
|
||||||
|
pkgs.nixgl.nixGLIntel
|
||||||
|
# pkgs.postman
|
||||||
|
];
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
nixGL = "nixGLIntel";
|
nixGL = "nixGLIntel";
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,8 +18,13 @@
|
||||||
pkgs.zk
|
pkgs.zk
|
||||||
pkgs.unzip
|
pkgs.unzip
|
||||||
pkgs.rust-bin.nightly.latest.default
|
pkgs.rust-bin.nightly.latest.default
|
||||||
|
|
||||||
# pkgs.nodejs-18_x
|
# pkgs.nodejs-18_x
|
||||||
# pkgs.rust-analyzer
|
# pkgs.rust-analyzer
|
||||||
|
|
||||||
|
# Yes, I desperately want neovim to work out-of-the-box without flake.nix for now
|
||||||
|
pkgs.tree-sitter
|
||||||
|
pkgs.nodejs
|
||||||
pkgs.yq
|
pkgs.yq
|
||||||
pkgs.python39Full
|
pkgs.python39Full
|
||||||
pkgs.xorg.xclock # TODO: only include if have GL
|
pkgs.xorg.xclock # TODO: only include if have GL
|
||||||
|
@ -33,7 +38,6 @@
|
||||||
# pkgs.python310Packages.tensorflow
|
# pkgs.python310Packages.tensorflow
|
||||||
# pkgs.python310Packages.scikit-learn
|
# pkgs.python310Packages.scikit-learn
|
||||||
] ++ (myHome.packages or [ ]);
|
] ++ (myHome.packages or [ ]);
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
## Configs ##
|
## Configs ##
|
||||||
xdg.configFile."nvim/init.lua".text = builtins.readFile ../neovim/init.lua;
|
xdg.configFile."nvim/init.lua".text = builtins.readFile ../neovim/init.lua;
|
||||||
|
|
|
@ -146,6 +146,8 @@ colorscheme gruvbox
|
||||||
require('hlargs').setup()
|
require('hlargs').setup()
|
||||||
require('nvim-web-devicons').setup()
|
require('nvim-web-devicons').setup()
|
||||||
require('trouble').setup()
|
require('trouble').setup()
|
||||||
|
|
||||||
|
-- TODO: Any way to collect all the TODOs and its variants?
|
||||||
require('todo-comments').setup()
|
require('todo-comments').setup()
|
||||||
|
|
||||||
-- plugin keymaps
|
-- plugin keymaps
|
||||||
|
|
Loading…
Reference in New Issue