WIP custom vital + zsh and audio configs

Signed-off-by: Filippo Berto <berto.f@protonmail.com>
This commit is contained in:
Filippo Berto 2022-08-25 09:33:52 +02:00
parent 84ed0d7a01
commit 4d42bdad1c
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
8 changed files with 68 additions and 26 deletions

View file

@ -4,10 +4,11 @@
let let
self = with pkgs; { self = with pkgs; {
lockscreen = callPackage ./lockscreen { };
update-background = callPackage ./update-background { };
sddm-theme-clairvoyance = callPackage ./sddm-theme-clairvoyance { };
cocktail-bar-cli = callPackage ./cocktail-bar-cli { }; cocktail-bar-cli = callPackage ./cocktail-bar-cli { };
lockscreen = callPackage ./lockscreen { };
sddm-theme-clairvoyance = callPackage ./sddm-theme-clairvoyance { };
update-background = callPackage ./update-background { };
vital-synth = callPackage ./vital-synth { };
}; };
in in
(self) (self)

View file

@ -0,0 +1,28 @@
{ lib, stdenv, fetchFromGitHub, fira-mono }:
stdenv.mkDerivation rec {
pname = "vital";
version = "20190530";
src = fetchFromGitHub {
owner = "mtytel";
repo = pname;
rev = "636ca0e";
sha256 = "sha25ww6-AcVQpG62PkMtAudqyu/iwZ4N6a2bCdfumCmdqE1E548=";
};
buildInputs = [ fira-mono ];
installPhase = ''
mkdir -p $out/usr/share/sddm/themes/
cp -a . $out/usr/share/sddm/themes/clairvoyance
'';
meta = with lib; {
description = "Clairvoyance theme for SDDM";
homepage = "https://github.com/eayus/sddm-theme-clairvoyance";
license = licenses.gpl3Plus;
maintainers = [ maintainers.bertof ];
platforms = platforms.all;
};
}

View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
programs.zsh.enable = true;
programs.zsh.initExtra = ''
source <(${pkgs.any-nix-shell}/bin/any-nix-shell zsh --info-right)
'';
}

View file

@ -1,28 +1,31 @@
{ pkgs, ... }: { pkgs, ... }:
let let
user = "bertof";
systemLibFolder = "/run/current-system/sw/lib/";
userLibFolder = "/nix/var/nix/profiles/per-user/${user}/home-manager/home-path/lib/";
variables = { variables = {
DSSI_PATH = "$HOME/.dssi:$NIX_USER_PROFILE_DIR/home-manager/home-path/lib/dssi:/run/current-system/sw/lib/dssi"; DSSI_PATH = "$HOME/.dssi:${userLibFolder}/dssi:${systemLibFolder}/dssi";
LADSPA_PATH = "$HOME/.ladspa:$NIX_USER_PROFILE_DIR/home-manager/home-path/lib/ladspa:/run/current-system/sw/lib/ladspa"; LADSPA_PATH = "$HOME/.ladspa:${userLibFolder}/ladspa:${systemLibFolder}/ladspa";
LV2_PATH = "$HOME/.lv2:$NIX_USER_PROFILE_DIR/home-manager/home-path/lib/lv2:/run/current-system/sw/lib/lv2"; LV2_PATH = "$HOME/.lv2:${userLibFolder}/lv2:${systemLibFolder}/lv2";
LXVST_PATH = "$HOME/.lxvst:$NIX_USER_PROFILE_DIR/home-manager/home-path/lib/lxvst:/run/current-system/sw/lib/lxvst"; LXVST_PATH = "$HOME/.lxvst:${userLibFolder}/lxvst:${systemLibFolder}/lxvst";
VST_PATH = "$HOME/.vst:$NIX_USER_PROFILE_DIR/home-manager/home-path/lib/vst:/run/current-system/sw/lib/vst"; VST_PATH = "$HOME/.vst:${userLibFolder}/vst:${systemLibFolder}/vst";
VST3_PATH = "$HOME/.vst3:$NIX_USER_PROFILE_DIR/home-manager/home-path/lib/vst3:/run/current-system/sw/lib/vst3"; VST3_PATH = "$HOME/.vst3:${userLibFolder}/vst3:${systemLibFolder}/vst3";
}; };
in in
{ {
home.packages = with pkgs; [ home.packages = with pkgs.unstable; [
carla carla
rnnoise rnnoise
ardour ardour
unstable.zrythm zrythm
unstable.breeze-icons breeze-icons
mixxx mixxx
# Plugins # Plugins
# artyFX artyFX
autotalent autotalent
boops boops
unstable.cardinal cardinal
geonkick geonkick
helm helm
lsp-plugins lsp-plugins
@ -31,9 +34,9 @@ in
# speech-denoiser # speech-denoiser
# stochas # stochas
# sunvox # sunvox
# surge surge
unstable.giada giada
unstable.surge-XT surge-XT
talentedhack talentedhack
tunefish tunefish
vocproc vocproc

View file

@ -51,11 +51,11 @@
# cron.enable = false; # cron.enable = false;
# }; # };
environment.shellInit = '' # environment.shellInit = ''
export VST_PATH=/nix/var/nix/profiles/default/lib/vst:/var/run/current-system/sw/lib/vst:~/.vst # export VST_PATH=/nix/var/nix/profiles/default/lib/vst:/var/run/current-system/sw/lib/vst:~/.vst
export LXVST_PATH=/nix/var/nix/profiles/default/lib/lxvst:/var/run/current-system/sw/lib/lxvst:~/.lxvst # export LXVST_PATH=/nix/var/nix/profiles/default/lib/lxvst:/var/run/current-system/sw/lib/lxvst:~/.lxvst
export LADSPA_PATH=/nix/var/nix/profiles/default/lib/ladspa:/var/run/current-system/sw/lib/ladspa:~/.ladspa # export LADSPA_PATH=/nix/var/nix/profiles/default/lib/ladspa:/var/run/current-system/sw/lib/ladspa:~/.ladspa
export LV2_PATH=/nix/var/nix/profiles/default/lib/lv2:/var/run/current-system/sw/lib/lv2:~/.lv2 # export LV2_PATH=/nix/var/nix/profiles/default/lib/lv2:/var/run/current-system/sw/lib/lv2:~/.lv2
export DSSI_PATH=/nix/var/nix/profiles/default/lib/dssi:/var/run/current-system/sw/lib/dssi:~/.dssi # export DSSI_PATH=/nix/var/nix/profiles/default/lib/dssi:/var/run/current-system/sw/lib/dssi:~/.dssi
''; # '';
} }

View file

@ -136,6 +136,8 @@ with lib;
programs.gnupg.agent = { enable = true; enableSSHSupport = true; }; programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
programs.steam.enable = true; programs.steam.enable = true;
services.joycond.enable = true;
programs.dconf.enable = true; programs.dconf.enable = true;
programs.zsh = { enable = true; syntaxHighlighting.enable = true; }; programs.zsh = { enable = true; syntaxHighlighting.enable = true; };

View file

@ -23,7 +23,7 @@
# evince # evince
# evolution # evolution
file file
firefox firefox-bin
# freecad # freecad
gallery-dl gallery-dl
gnome.eog gnome.eog
@ -123,6 +123,7 @@
../hm_modules/python.nix ../hm_modules/python.nix
../hm_modules/rust.nix ../hm_modules/rust.nix
../hm_modules/any_nix_shell.nix
../hm_modules/alacritty.nix ../hm_modules/alacritty.nix
../hm_modules/autorandr.nix ../hm_modules/autorandr.nix
../hm_modules/bspwm.nix ../hm_modules/bspwm.nix

View file

@ -24,7 +24,7 @@
# element-desktop # matrix client # element-desktop # matrix client
# evolution # evolution
filelight filelight
# firefox firefox-bin
# freecad # freecad
gallery-dl gallery-dl
gnome.eog gnome.eog