Enables nixvim and helix editors

This commit is contained in:
willemml 2023-11-24 20:50:51 -08:00
parent 380e07d4c2
commit 08d8468670
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD
4 changed files with 35 additions and 6 deletions

11
flake.lock generated
View file

@ -763,15 +763,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700302760, "lastModified": 1700887267,
"narHash": "sha256-JpOJf9Nj260rTrVuYonP9CiGzj+43AGPOfhF72XkQvU=", "narHash": "sha256-n0GJHz27h6O1fXBFGAE6hpLY3YkjxMXJ9xK8DewM9yI=",
"owner": "danth", "owner": "willemml",
"repo": "stylix", "repo": "stylix",
"rev": "a15c3196c1d620c18cbee8229092598384a89fef", "rev": "12108f41b1fd4790d7743f0b2478bb534114b2c9",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "danth", "owner": "willemml",
"ref": "feat/modules/nixvim-transparency",
"repo": "stylix", "repo": "stylix",
"type": "github" "type": "github"
} }

View file

@ -35,7 +35,13 @@
pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs"; pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs";
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix"; 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"; stylix.inputs.nixpkgs.follows = "nixpkgs";
}; };

View file

@ -7,10 +7,13 @@
imports = [ imports = [
./emacs ./emacs
./ssh.nix ./ssh.nix
./vim.nix
./zsh.nix ./zsh.nix
]; ];
programs = { programs = {
helix.enable = true;
nix-index-database.comma.enable = true; nix-index-database.comma.enable = true;
bash.enableCompletion = true; bash.enableCompletion = true;

19
home/programs/vim.nix Normal file
View 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;
};
}