Move stuff back to stable nixpkgs
This commit is contained in:
parent
6306d0d927
commit
5bfa0c6402
12 changed files with 45 additions and 25 deletions
|
@ -44,10 +44,7 @@ with lib; {
|
|||
services.mpris-proxy.enable = true;
|
||||
|
||||
# Owncloud
|
||||
services.owncloud-client = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.owncloud-client;
|
||||
};
|
||||
services.owncloud-client.enable = true;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,39 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
texlab = pkgs.rustPlatform.buildRustPackage rec {
|
||||
pname = "texlab";
|
||||
version = "5.7.0";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "latex-lsp";
|
||||
repo = "texlab";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-GvORAPbQOdVpz4yY66b3OObewU98V26cZ6nrJ35nlkg=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-b7v3ODOjY5BQCzVqlLCNUOaZS95AvIvyjOeas2XfRjM=";
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
nativeBuildInputs = with pkgs; [ installShellFiles help2man ];
|
||||
|
||||
buildInputs = lib.optionals pkgs.stdenv.isDarwin (with pkgs; [
|
||||
libiconv
|
||||
Security
|
||||
CoreServices
|
||||
]);
|
||||
|
||||
# When we cross compile we cannot run the output executable to
|
||||
# generate the man page
|
||||
postInstall = ''
|
||||
# TexLab builds man page separately in CI:
|
||||
# https://github.com/latex-lsp/texlab/blob/v5.7.0/.github/workflows/publish.yml#L127-L131
|
||||
help2man --no-info "$out/bin/texlab" > texlab.1
|
||||
installManPage texlab.1
|
||||
'';
|
||||
};
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./kakoune/kak.nix
|
||||
|
@ -78,6 +112,8 @@
|
|||
BAT_THEME = "GitHub";
|
||||
# Editor
|
||||
EDITOR = "kak";
|
||||
# PATH Overrides
|
||||
PATH = "${config.home.homeDirectory}/.bin/overrides:$PATH";
|
||||
};
|
||||
|
||||
home.sessionPath = [
|
||||
|
@ -142,6 +178,5 @@
|
|||
jq.enable = true;
|
||||
|
||||
nushell.enable = true;
|
||||
nushell.package = pkgs.unstable.nushell;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.fish;
|
||||
functions = {
|
||||
# Simplify nix usage!
|
||||
nx = {
|
||||
|
|
|
@ -62,7 +62,6 @@
|
|||
};
|
||||
};
|
||||
nki.programs.kitty.enable = true;
|
||||
nki.programs.kitty.package = pkgs.unstable.kitty; # 0.27 fixes crash on sway 1.8
|
||||
nki.programs.kitty.fontSize = 14;
|
||||
|
||||
# Yellow light!
|
||||
|
@ -80,7 +79,6 @@
|
|||
# mpd stuff
|
||||
services.mpd.musicDirectory = "${config.home.homeDirectory}/Music";
|
||||
services.mpd-discord-rpc.enable = true;
|
||||
services.mpd-discord-rpc.package = pkgs.unstable.mpd-discord-rpc;
|
||||
services.mpd-mpris.enable = true;
|
||||
# ncmpcpp
|
||||
programs.ncmpcpp.enable = true;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
let
|
||||
kakounePkg =
|
||||
pkgs.kakoune.override {
|
||||
kakoune = with lib; pkgs.unstable.gcc11Stdenv.mkDerivation rec {
|
||||
kakoune = with lib; pkgs.stdenv.mkDerivation rec {
|
||||
pname = "kakoune-unwrapped";
|
||||
version = "r${builtins.substring 0 6 pkgs.sources.kakoune.rev}";
|
||||
src = pkgs.sources.kakoune;
|
||||
|
|
|
@ -10,7 +10,7 @@ in
|
|||
|
||||
basePackage = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.unstable.discord;
|
||||
default = pkgs.discord;
|
||||
description = "The base Discord package that will get patched";
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue