Skip to content

Commit

Permalink
feat(nix): install lunarvim from nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
LGUG2Z committed Nov 27, 2023
1 parent 68bcb83 commit ca85514
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ wsl --import NixOS .\NixOS\ .\nixos-wsl.tar.gz --version 2

* Enter the distro:
```powershell
wsl -d NixOs
wsl -d NixOS
```

* Set up a channel:
Expand Down
1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
allowUnfree = true;
permittedInsecurePackages = [
# FIXME:: add any insecure packages you absolutely need here
"python-2.7.18.6" # needed for core-utils
];
};
overlays = [
Expand Down
5 changes: 2 additions & 3 deletions home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
htop
jq
killall
lunarvim
mosh
neovim
procs
Expand All @@ -39,8 +40,6 @@
# FIXME: customize these stable packages to your liking for the languages that you use

# key tools
gnumake # for lunarvim
gcc # for lunarvim
gh # for bootstrapping
just

Expand All @@ -49,7 +48,7 @@
go
lua
nodejs
python
python3
typescript

# rust stuff
Expand Down
4 changes: 4 additions & 0 deletions wsl.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
}: {
networking.hostName = "${hostname}";

systemd.tmpfiles.rules = [
"d /home/${username}/.config/lvim 0755 ${username} users"
];

# FIXME: change your shell here if you don't want zsh
programs.zsh.enable = true;
environment.pathsToLink = ["/share/zsh"];
Expand Down

0 comments on commit ca85514

Please sign in to comment.