feat: rokit, EDITOR=nvim -> programs.neovim

This commit is contained in:
2025-01-26 05:56:45 +00:00
parent ede0370428
commit 7b7b7fad75
28 changed files with 52 additions and 21 deletions

23
nix/flake.lock generated Normal file → Executable file
View File

@@ -88,11 +88,32 @@
"type": "github"
}
},
"rokit": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1737867604,
"narHash": "sha256-Zqez88FVTfXX0MXwIBKhV9RRQrqFYj5sxtschbloaL0=",
"owner": "rocketcamel",
"repo": "rokit-nix",
"rev": "e70887b617a7c38e767497aeb51a07d0ae23817d",
"type": "github"
},
"original": {
"owner": "rocketcamel",
"repo": "rokit-nix",
"type": "github"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
"nixos-wsl": "nixos-wsl",
"nixpkgs": "nixpkgs_2"
"nixpkgs": "nixpkgs_2",
"rokit": "rokit"
}
}
},

3
nix/flake.nix Normal file → Executable file
View File

@@ -6,6 +6,8 @@
nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
rokit.url = "github:rocketcamel/rokit-nix";
rokit.inputs.nixpkgs.follows = "nixpkgs";
};
outputs =
@@ -52,6 +54,7 @@
"nix-command"
"flakes"
];
environment.systemPackages = [ inputs.rokit.packages.x86_64-linux.rokit ];
}
]
++ (

0
nix/home-old.nix Normal file → Executable file
View File

0
nix/hosts/tux/configuration.nix Normal file → Executable file
View File

0
nix/hosts/tux/hardware-configuration.nix Normal file → Executable file
View File

0
nix/hosts/wsl-kumatani/configuration.nix Normal file → Executable file
View File

0
nix/hosts/wsl-usahara/configuration.nix Normal file → Executable file
View File

40
nix/modules/commonPackages.nix Normal file → Executable file
View File

@@ -7,20 +7,28 @@
description = "Common packages";
};
};
config.commonPackages = with pkgs; [
wget
busybox
curl
stow
gh
oh-my-posh
neovim
ripgrep
git
gcc
rustup
nixfmt-rfc-style
asciiquarium
];
config.programs.nix-ld.enable = true;
config = {
commonPackages = with pkgs; [
wget
busybox
curl
stow
gh
oh-my-posh
neovim
ripgrep
git
gcc
rustup
nixfmt-rfc-style
asciiquarium
];
programs.nix-ld.enable = true;
programs.neovim = {
enable = true;
defaultEditor = true;
vimAlias = true;
};
};
}

0
nix/modules/default.nix Normal file → Executable file
View File

0
nix/modules/hm.nix Normal file → Executable file
View File

0
nix/modules/i3.nix Normal file → Executable file
View File

0
nix/modules/kanata.nix Normal file → Executable file
View File

1
nix/users/luca/zsh.nix Normal file → Executable file
View File

@@ -3,7 +3,6 @@
enableCompletion = true;
autosuggestion.enable = true;
envExtra = ''
EDITOR=nvim
. "$HOME/.rokit/env"
eval "$(oh-my-posh init zsh -c ~/.config/ohmyposh/zen.toml)"
'';