how to allow unfree? I want a working prototype on neovim config ASAP

nix-components
pegasust 2022-11-29 16:08:44 -07:00
parent f80854b200
commit 184496d5e8
3 changed files with 13 additions and 4 deletions

View File

@ -100,7 +100,10 @@
myHome = {
username = "hwtr";
homeDirectory = "/home/hwtr";
packages = [ pkgs.nixgl.nixGLIntel pkgs.postman ];
packages = [
pkgs.nixgl.nixGLIntel
# pkgs.postman
];
shellAliases = {
nixGL = "nixGLIntel";
};

View File

@ -18,8 +18,13 @@
pkgs.zk
pkgs.unzip
pkgs.rust-bin.nightly.latest.default
# pkgs.nodejs-18_x
# 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.python39Full
pkgs.xorg.xclock # TODO: only include if have GL
@ -33,7 +38,6 @@
# pkgs.python310Packages.tensorflow
# pkgs.python310Packages.scikit-learn
] ++ (myHome.packages or [ ]);
nixpkgs.config.allowUnfree = true;
## Configs ##
xdg.configFile."nvim/init.lua".text = builtins.readFile ../neovim/init.lua;
@ -121,8 +125,8 @@
};
# No idea why this is not appearing in home-manager search
# It's in source code, though
userName="pegasust";
userEmail="pegasucksgg@gmail.com";
userName = "pegasust";
userEmail = "pegasucksgg@gmail.com";
extraConfig = {
merge = { tool = "vimdiff"; conflictstyle = "diff3"; };
};

View File

@ -146,6 +146,8 @@ colorscheme gruvbox
require('hlargs').setup()
require('nvim-web-devicons').setup()
require('trouble').setup()
-- TODO: Any way to collect all the TODOs and its variants?
require('todo-comments').setup()
-- plugin keymaps