mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
Enables nixvim and helix editors
This commit is contained in:
parent
380e07d4c2
commit
08d8468670
4 changed files with 35 additions and 6 deletions
11
flake.lock
generated
11
flake.lock
generated
|
@ -763,15 +763,16 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1700302760,
|
||||
"narHash": "sha256-JpOJf9Nj260rTrVuYonP9CiGzj+43AGPOfhF72XkQvU=",
|
||||
"owner": "danth",
|
||||
"lastModified": 1700887267,
|
||||
"narHash": "sha256-n0GJHz27h6O1fXBFGAE6hpLY3YkjxMXJ9xK8DewM9yI=",
|
||||
"owner": "willemml",
|
||||
"repo": "stylix",
|
||||
"rev": "a15c3196c1d620c18cbee8229092598384a89fef",
|
||||
"rev": "12108f41b1fd4790d7743f0b2478bb534114b2c9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "danth",
|
||||
"owner": "willemml",
|
||||
"ref": "feat/modules/nixvim-transparency",
|
||||
"repo": "stylix",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
@ -35,7 +35,13 @@
|
|||
pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs";
|
||||
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
|
||||
|
||||
stylix.url = "github:danth/stylix";
|
||||
# stylix.url = "github:danth/stylix";
|
||||
stylix = {
|
||||
type = "github";
|
||||
owner = "willemml";
|
||||
repo = "stylix";
|
||||
ref = "feat/modules/nixvim-transparency";
|
||||
};
|
||||
stylix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
|
|
|
@ -7,10 +7,13 @@
|
|||
imports = [
|
||||
./emacs
|
||||
./ssh.nix
|
||||
./vim.nix
|
||||
./zsh.nix
|
||||
];
|
||||
|
||||
programs = {
|
||||
helix.enable = true;
|
||||
|
||||
nix-index-database.comma.enable = true;
|
||||
|
||||
bash.enableCompletion = true;
|
||||
|
|
19
home/programs/vim.nix
Normal file
19
home/programs/vim.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{inputs, ...}: {
|
||||
imports = [
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
];
|
||||
|
||||
stylix.targets.nixvim = {
|
||||
enable = true;
|
||||
transparent_bg = {
|
||||
main = true;
|
||||
sign_column = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
|
||||
plugins.lightline.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue