mirror of
https://github.com/kmein/niveum
synced 2026-03-16 18:21:07 +01:00
chore: move more to NUR
This commit is contained in:
@@ -6,7 +6,6 @@ in
|
||||
imports = [
|
||||
<niveum/modules/constants.nix>
|
||||
<home-manager/nixos>
|
||||
# ./mopidy.nix
|
||||
./alacritty.nix
|
||||
./bash.nix
|
||||
./bluetooth.nix
|
||||
@@ -16,7 +15,6 @@ in
|
||||
./compton.nix
|
||||
./default.nix
|
||||
./direnv.nix
|
||||
# ./home-assistant.nix
|
||||
./distrobump.nix
|
||||
./docker.nix
|
||||
./dunst.nix
|
||||
@@ -41,7 +39,6 @@ in
|
||||
./redshift.nix
|
||||
./retiolum.nix
|
||||
./rofi.nix
|
||||
./sncli.nix
|
||||
./ssh.nix
|
||||
./sudo.nix
|
||||
./themes/mac-os.nix
|
||||
@@ -110,20 +107,11 @@ in
|
||||
(import <niveum/overlays/scripts.nix>)
|
||||
(import <niveum/overlays/rust.nix>)
|
||||
(self: super: {
|
||||
python3Packages = super.python3Packages.override {
|
||||
overrides = new: old: {
|
||||
spotify-cli-linux = new.callPackage <niveum/packages/spotify-cli-linux.nix> {};
|
||||
instaloader = new.callPackage <niveum/packages/instaloader.nix> {};
|
||||
sncli = new.callPackage <niveum/packages/sncli.nix> {};
|
||||
};
|
||||
};
|
||||
|
||||
writeDashBin = super.writers.writeDashBin;
|
||||
writeDash = super.writers.writeDash;
|
||||
|
||||
ix = super.callPackage <niveum/packages/ix.nix> {};
|
||||
|
||||
text2pdf = super.callPackage <niveum/packages/text2pdf.nix> {};
|
||||
iolanguage = super.callPackage <niveum/packages/iolanguage.nix> {};
|
||||
nix-git = super.callPackage <niveum/packages/nix-git.nix> {};
|
||||
gfs-fonts = super.callPackage <niveum/packages/gfs-fonts.nix> {
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
services.home-assistant = {
|
||||
enable = false;
|
||||
configWritable = true;
|
||||
lovelaceConfigWritable = true;
|
||||
};
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
let secrets = import <niveum/dot/secrets.nix>;
|
||||
in {
|
||||
services.mopidy = {
|
||||
enable = false;
|
||||
extensionPackages = [
|
||||
pkgs.mopidy-gmusic
|
||||
pkgs.mopidy-iris
|
||||
pkgs.mopidy-moped
|
||||
pkgs.mopidy-mopify
|
||||
pkgs.mopidy-soundcloud
|
||||
pkgs.mopidy-spotify
|
||||
pkgs.mopidy-spotify-tunigo
|
||||
pkgs.mopidy-youtube
|
||||
];
|
||||
configuration = ''
|
||||
[mpd]
|
||||
hostname = ::
|
||||
|
||||
[spotify]
|
||||
username = ${secrets.spotify.username}
|
||||
password = ${secrets.spotify.password}
|
||||
client_id = ${secrets.spotify.clientId}
|
||||
client_secret = ${secrets.spotify.clientSecret}
|
||||
|
||||
[soundcloud]
|
||||
auth_token = ${secrets.soundcloud.authToken}
|
||||
'';
|
||||
};
|
||||
}
|
||||
@@ -45,7 +45,7 @@
|
||||
ddgr
|
||||
ix
|
||||
# thunderbird
|
||||
# python3Packages.instaloader
|
||||
# nur.repos.kmein.python3Packages.instaloader
|
||||
# mtr # my traceroute
|
||||
# FILE MANAGERS
|
||||
ranger
|
||||
@@ -98,7 +98,7 @@
|
||||
pdfgrep # search in pdf
|
||||
pdftk # pdf toolkit
|
||||
spotify
|
||||
python3Packages.spotify-cli-linux
|
||||
nur.repos.kmein.python3Packages.spotify-cli-linux
|
||||
youtubeDL
|
||||
bc # calculator
|
||||
fzf
|
||||
|
||||
@@ -35,7 +35,7 @@ in
|
||||
texlive.combined.scheme-full
|
||||
(aspellWithDicts (dict: [dict.de dict.en dict.en-computers]))
|
||||
haskellPackages.pandoc-citeproc
|
||||
text2pdf
|
||||
nur.repos.kmein.text2pdf
|
||||
libreoffice
|
||||
pandoc
|
||||
# proselint
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
{ pkgs, lib, ... }:
|
||||
let secrets = import <niveum/dot/secrets.nix>;
|
||||
in {
|
||||
environment.systemPackages = [ pkgs.python3Packages.sncli ];
|
||||
|
||||
home-manager.users.me = {
|
||||
home.file.".snclirc".text = lib.generators.toINI {} {
|
||||
sncli = {
|
||||
cfg_sn_username = secrets.simplenote.username;
|
||||
cfg_sn_password = secrets.simplenote.password;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "git-quick-stats";
|
||||
version = "2.0.8";
|
||||
src = fetchFromGitHub {
|
||||
repo = "git-quick-stats";
|
||||
owner = "arzzen";
|
||||
rev = "${version}";
|
||||
sha256 = "1px1sk7b6mjnbclsr1jn33m9k4wd8wqyw4d6w1rgj0ii29lhzmqi";
|
||||
};
|
||||
installPhase = ''
|
||||
PREFIX=$out make install
|
||||
'';
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/arzzen/git-quick-stats";
|
||||
description = "Git quick statistics is a simple and efficient way to access various statistics in git repository.";
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.kmein ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{ buildPythonApplication, fetchPypi, requests }:
|
||||
let
|
||||
in buildPythonApplication rec {
|
||||
pname = "instaloader";
|
||||
version = "4.2.4";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "02zqb02idk2pzks7dv42vigcmmpjpfhfdyjp911yr0ix7dy3q0b9";
|
||||
};
|
||||
propagatedBuildInputs = [ requests ];
|
||||
doCheck = false;
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
{ stdenv, buildPythonApplication, fetchPypi, argparse, colour, numpy, pillow, scipy, tqdm, opencv, pycairo, pydub }:
|
||||
buildPythonApplication rec {
|
||||
pname = "manimlib";
|
||||
version = "0.1.5";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1hrb94zawngn6pm31185sdg91a66y4lwagwcry3k9a3rk8w81f7m";
|
||||
};
|
||||
propagatedBuildInputs = [ argparse colour numpy pillow scipy tqdm opencv pycairo pydub ];
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Animation engine for explanatory math videos";
|
||||
homepage = "https://github.com/3b1b/manim";
|
||||
license = license.mit;
|
||||
maintainers = [ maintainers.kmein ];
|
||||
};
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{ stdenv, dmd, curl, sqlite, fetchFromGitHub }:
|
||||
stdenv.mkDerivation {
|
||||
name = "onedrive";
|
||||
version = "v1.1.3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "skilion";
|
||||
repo = "onedrive";
|
||||
rev = "945251f7f2e95ae85001efb6eab85d6176bac75e";
|
||||
sha256 = "16iajb61b09gdqly85h6h7ap385ihk0az3mimkj277yc08rv68d0";
|
||||
};
|
||||
buildInputs = [ dmd curl sqlite ];
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
{ buildPythonPackage, buildPythonApplication, fetchPypi, requests, urwid }:
|
||||
let
|
||||
Simperium3 = buildPythonPackage rec {
|
||||
pname = "Simperium3";
|
||||
version = "0.1.3";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1j1w4dji39v44l96qq9kbrxpcjkjmika8065gwy8bf847f9fa76p";
|
||||
};
|
||||
propagatedBuildInputs = [ requests ];
|
||||
};
|
||||
in buildPythonApplication rec {
|
||||
pname = "sncli";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "18s5a6s2z7k14cbiyfdf98kw92r2hf1xwaavx67dxhadxm18xr4v";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests urwid Simperium3 ];
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
{ buildPythonPackage, buildPythonApplication, fetchPypi, pytestrunner, six, beautifulsoup4, requests, dbus-python }:
|
||||
let
|
||||
lyricwikia = buildPythonPackage rec {
|
||||
pname = "lyricwikia";
|
||||
version = "0.1.9";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0sa5wkbgp5bpgkl8hgn7byyz9zj0786647ikf2l0k8m4fimq623y";
|
||||
};
|
||||
buildInputs = [ pytestrunner ];
|
||||
propagatedBuildInputs = [ six beautifulsoup4 requests ];
|
||||
doCheck = false;
|
||||
};
|
||||
in buildPythonApplication rec {
|
||||
pname = "spotify-cli-linux";
|
||||
version = "1.4.2";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1gxich3v2i4lmh60abbw3mw15399afvvqflv8g6plvvbmvxmbgp0";
|
||||
};
|
||||
propagatedBuildInputs = [ lyricwikia dbus-python ];
|
||||
doCheck = false;
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
{ stdenv, fetchurl }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "text2pdf";
|
||||
version = "1.1";
|
||||
src = fetchurl {
|
||||
url = "http://www.eprg.org/pdfcorner/text2pdf/text2pdf.c";
|
||||
sha256 = "002nyky12vf1paj7az6j6ra7lljwkhqzz238v7fyp7sfgxw0f7d1";
|
||||
};
|
||||
phases = [ "buildPhase" ];
|
||||
buildPhase = ''
|
||||
mkdir -p $out/bin
|
||||
gcc -o $out/bin/text2pdf $src
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user