tangled
alpha
login
or
join now
da157.id
/
nixvim-cfg
0
fork
atom
0xda157's nixvim config
0
fork
atom
overview
issues
pulls
pipelines
thing
0xda157
1 month ago
dca3e033
400d5cd5
+42
-29
2 changed files
expand all
collapse all
unified
split
README.md
flake.nix
+11
README.md
···
1
1
+
run with
2
2
+
3
3
+
```bash
4
4
+
nix run https://codeberg.org/da157/nixvim-cfg/archive/main.tar.gz
5
5
+
```
6
6
+
7
7
+
or
8
8
+
9
9
+
```bash
10
10
+
nix run git+https://codeberg.org/da157/nixvim-cfg.git
11
11
+
```
+31
-29
flake.nix
···
16
16
inputs = {
17
17
systems.follows = "systems";
18
18
flake-parts.follows = "flake-parts";
19
19
-
nuschtosSearch.follows = "";
20
19
};
21
20
};
22
21
};
···
38
37
};
39
38
40
39
flake.nixvimModules = {
41
41
-
base = {
42
42
-
imports = [
43
43
-
# keep-sorted start
44
44
-
./modules/config.nix
45
45
-
./modules/keymaps.nix
46
46
-
./modules/plugins
47
47
-
./modules/plugins/alpha
48
48
-
./modules/plugins/completion
49
49
-
./modules/plugins/gitsigns
50
50
-
./modules/plugins/indent-blankline
51
51
-
./modules/plugins/lualine
52
52
-
./modules/plugins/neo-tree
53
53
-
./modules/plugins/telescope
54
54
-
./modules/plugins/treesitter
55
55
-
# keep-sorted end
56
56
-
];
57
57
-
};
58
58
-
full = {
59
59
-
imports = [
60
60
-
# keep-sorted start block=yes prefix_order=self,./
61
61
-
./modules/plugins/conform
62
62
-
./modules/plugins/lint
63
63
-
./modules/plugins/lsp
64
64
-
inputs.self.nixvimModules.base
65
65
-
# keep-sorted end
66
66
-
];
67
67
-
};
40
40
+
base.imports = [
41
41
+
# keep-sorted start
42
42
+
./modules/config.nix
43
43
+
./modules/keymaps.nix
44
44
+
./modules/plugins
45
45
+
./modules/plugins/alpha
46
46
+
./modules/plugins/completion
47
47
+
./modules/plugins/gitsigns
48
48
+
./modules/plugins/indent-blankline
49
49
+
./modules/plugins/lualine
50
50
+
./modules/plugins/neo-tree
51
51
+
./modules/plugins/telescope
52
52
+
./modules/plugins/treesitter
53
53
+
# keep-sorted end
54
54
+
];
55
55
+
full.imports = [
56
56
+
# keep-sorted start block=yes prefix_order=self,./
57
57
+
./modules/plugins/conform
58
58
+
./modules/plugins/lint
59
59
+
./modules/plugins/lsp
60
60
+
inputs.self.nixvimModules.base
61
61
+
# keep-sorted end
62
62
+
];
68
63
};
69
64
70
65
perSystem =
71
71
-
{ system, pkgs, ... }:
66
66
+
{
67
67
+
system,
68
68
+
pkgs,
69
69
+
config,
70
70
+
...
71
71
+
}:
72
72
{
73
73
nixvimConfigurations =
74
74
lib.mapAttrs
···
82
82
nixvim = [ inputs.self.nixvimModules.full ];
83
83
nixvim-minimal = [ inputs.self.nixvimModules.base ];
84
84
};
85
85
+
86
86
+
packages.default = config.packages.nixvim;
85
87
86
88
formatter = pkgs.treefmt.withConfig {
87
89
runtimeInputs = with pkgs; [