flake
This commit is contained in:
parent
f24ac3485f
commit
618c1d4110
1 changed files with 11 additions and 0 deletions
11
flake.nix
11
flake.nix
|
@ -3,6 +3,7 @@
|
|||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
||||
home-manager.url = "github:nix-community/home-manager/release-24.05";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
@ -18,6 +19,10 @@
|
|||
inherit pkgs;
|
||||
modules = [
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
inputs.neovim-nightly-overlay.overlays.default
|
||||
];
|
||||
|
||||
home.username = username;
|
||||
home.homeDirectory = homeDir;
|
||||
# Only manage what you explicitly turn on below
|
||||
|
@ -28,12 +33,18 @@
|
|||
userEmail = "osh@oshgnacknak.de";
|
||||
};
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
package = neovim-nightly-overlay.packages.${pkgs.system}.default;
|
||||
};
|
||||
|
||||
# Put extra packages in the *user* profile (not system)
|
||||
home.packages = with pkgs; [
|
||||
ripgrep
|
||||
fd
|
||||
tmux
|
||||
neovim
|
||||
xsel
|
||||
];
|
||||
|
||||
# Example: link dotfiles without forcing overwrite
|
||||
|
|
Loading…
Add table
Reference in a new issue