fix(nixvim): try to specify the package directly in flake.nix
This commit is contained in:
parent
098f6e9f62
commit
10301e5d35
2 changed files with 7 additions and 6 deletions
|
|
@ -32,9 +32,12 @@
|
||||||
|
|
||||||
nixos-06cb-009a-fingerprint-sensor,
|
nixos-06cb-009a-fingerprint-sensor,
|
||||||
... }:
|
... }:
|
||||||
|
let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
|
|
@ -42,7 +45,7 @@
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.khais = ./home.nix;
|
home-manager.users.khais = ./home.nix;
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit nixvim-flake;
|
nixvim = nixvim-flake.packages.${system}.default;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
nixos-06cb-009a-fingerprint-sensor.nixosModules.open-fprintd
|
nixos-06cb-009a-fingerprint-sensor.nixosModules.open-fprintd
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, nixvim-flake, river-shifttags, ... }: let
|
{ pkgs, nixvim, river-shifttags, ... }: let
|
||||||
username = "khais";
|
username = "khais";
|
||||||
in {
|
in {
|
||||||
home = {
|
home = {
|
||||||
|
|
@ -14,9 +14,7 @@ in {
|
||||||
# passwords
|
# passwords
|
||||||
bitwarden-desktop
|
bitwarden-desktop
|
||||||
# editors
|
# editors
|
||||||
zed-editor
|
zed-editor nixvim
|
||||||
# nixvim
|
|
||||||
nixvim-flake.packages.${system}.default
|
|
||||||
# make clipboard yanking work in neovim
|
# make clipboard yanking work in neovim
|
||||||
# https://superuser.com/a/1803183
|
# https://superuser.com/a/1803183
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue