Switch to NixOS and various fixes

This commit is contained in:
Filippo Berto 2021-05-17 14:57:10 +02:00
parent c7df83869f
commit 0aae761f89
14 changed files with 222 additions and 130 deletions

View file

@ -1,6 +1,6 @@
{ config, lib, pkgs, ... }:
let
unstable = import <nixos-unstable> {};
nixpkgs = import <nixpkgs> {};
in {
home.packages = with pkgs; [
kak-lsp
@ -8,6 +8,11 @@ in {
gocode
gogetdoc
jq
aspell
aspellDicts.it
aspellDicts.en
aspellDicts.en-computers
aspellDicts.en-science
];
programs.kakoune = {
@ -66,11 +71,12 @@ in {
"require-module auto-pairs"
"require-module powerline"
];
plugins = with pkgs.kakounePlugins; [
plugins = (with pkgs.kakounePlugins; [
kak-auto-pairs
unstable.kakounePlugins.powerline-kak
unstable.kakounePlugins.prelude-kak
];
]) ++ (with nixpkgs; [
kakounePlugins.prelude-kak
kakounePlugins.powerline-kak
]);
};
xdg.configFile."kak-lsp/kak-lsp.toml".source = ../configs/kak-lsp/kak-lsp.toml;