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 = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
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.url = "github:nix-community/home-manager/release-24.05";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
@ -18,6 +19,10 @@
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
modules = [
|
modules = [
|
||||||
{
|
{
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
inputs.neovim-nightly-overlay.overlays.default
|
||||||
|
];
|
||||||
|
|
||||||
home.username = username;
|
home.username = username;
|
||||||
home.homeDirectory = homeDir;
|
home.homeDirectory = homeDir;
|
||||||
# Only manage what you explicitly turn on below
|
# Only manage what you explicitly turn on below
|
||||||
|
@ -28,12 +33,18 @@
|
||||||
userEmail = "osh@oshgnacknak.de";
|
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)
|
# Put extra packages in the *user* profile (not system)
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
ripgrep
|
ripgrep
|
||||||
fd
|
fd
|
||||||
tmux
|
tmux
|
||||||
neovim
|
neovim
|
||||||
|
xsel
|
||||||
];
|
];
|
||||||
|
|
||||||
# Example: link dotfiles without forcing overwrite
|
# Example: link dotfiles without forcing overwrite
|
||||||
|
|
Loading…
Add table
Reference in a new issue