Added k9s
This commit is contained in:
parent
d7bd96d68d
commit
1fc6785205
7 changed files with 36 additions and 13 deletions
14
CHEATSHEET.md
Normal file
14
CHEATSHEET.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Update Neovim
|
||||
|
||||
1. Update the version controlled code
|
||||
2. Run:
|
||||
|
||||
```bash
|
||||
nix flake lock --update-input nvim-config
|
||||
```
|
||||
|
||||
3. Run:
|
||||
|
||||
```bash
|
||||
home-manager switch --flake "/home/fw/nix#fw@jobb"
|
||||
```
|
|
@ -59,7 +59,6 @@ in
|
|||
prettierd
|
||||
qrencode
|
||||
air
|
||||
unstable.k9s
|
||||
git
|
||||
lazydocker
|
||||
gcc
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
../shared/oh-my-posh.nix
|
||||
../shared/gtk.nix
|
||||
../shared/neovim.nix
|
||||
../shared/k9s.nix
|
||||
# ../shared/hyprland.nix
|
||||
];
|
||||
|
||||
|
|
|
@ -13,6 +13,14 @@
|
|||
# Home manager
|
||||
home-manager.url = "github:nix-community/home-manager/release-25.05";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
nvim-config = {
|
||||
url = "github:fwastring/nvim?exportIgnore=1";
|
||||
flake = false;
|
||||
};
|
||||
k9s-config = {
|
||||
url = "github:fwastring/k9s?exportIgnore=1";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
10
shared/k9s.nix
Normal file
10
shared/k9s.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ config, inputs, pkgs, ... }:
|
||||
|
||||
let
|
||||
in
|
||||
{
|
||||
programs.k9s.enable = true;
|
||||
|
||||
xdg.configFile."k9s".source = inputs.k9s-config;
|
||||
|
||||
}
|
|
@ -10,7 +10,7 @@
|
|||
font =
|
||||
{
|
||||
name = "ComicShannsMono Nerd Font";
|
||||
size = 22;
|
||||
size = 12;
|
||||
};
|
||||
shellIntegration = {
|
||||
mode = "no-cursor";
|
||||
|
|
|
@ -1,22 +1,13 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, inputs, pkgs, ... }:
|
||||
|
||||
let
|
||||
# Replace with the URL of your Neovim configuration GitHub repository
|
||||
nvim-config = {
|
||||
url = "github:fwastring/nvim?exportIgnore=1";
|
||||
# Use a specific, locked commit hash here
|
||||
# You can get this by running 'nix flake lock'
|
||||
# after adding the input
|
||||
flake = false; # Tell Nix this is not a flake
|
||||
};
|
||||
|
||||
in
|
||||
{
|
||||
# Enable the Home Manager Neovim module if you haven't already
|
||||
# programs.neovim.enable = true;
|
||||
|
||||
# Create a symlink from the Nix store to the Neovim config directory
|
||||
xdg.configFile."nvim".source = nvim-config;
|
||||
xdg.configFile."nvim".source = inputs.nvim-config;
|
||||
|
||||
# Other Home Manager options...
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue