-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
39 lines (37 loc) · 1.08 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
description = "My SpaceVim Configuration Flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; # Use the appropriate Nixpkgs version.
spacevim-src.url = "github:SpaceVim/SpaceVim";
};
outputs = { self, nixpkgs, spacevim-src }: {
nixosConfigurations.mySpaceVimConfig = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; # Adjust for your system.
modules = [
{
imports = [
# Include SpaceVim as a module.
"${spacevim-src}/nixos/modules/services/desktops/spacevim.nix"
];
# Customize your SpaceVim configuration here.
config = {
spacevim = {
enable = true;
layers = [
"auto-completion"
"git"
"lang#python"
"lang#javascript"
"lang#markdown"
"version-control"
"shell"
"ui"
];
# Add your own custom SpaceVim settings here.
};
};
}
];
};
};
}