mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
beets env update
This commit is contained in:
@@ -38,6 +38,12 @@ in
|
|||||||
lazyjournal
|
lazyjournal
|
||||||
systemctl-tui
|
systemctl-tui
|
||||||
|
|
||||||
|
# IDE
|
||||||
|
yaml-language-server
|
||||||
|
nil
|
||||||
|
fresh-editor
|
||||||
|
#flow-control
|
||||||
|
|
||||||
# Base
|
# Base
|
||||||
curl
|
curl
|
||||||
# efibootmgr
|
# efibootmgr
|
||||||
@@ -54,8 +60,6 @@ in
|
|||||||
tree
|
tree
|
||||||
dust
|
dust
|
||||||
tuckr
|
tuckr
|
||||||
fresh-editor
|
|
||||||
#flow-control
|
|
||||||
|
|
||||||
# Net Diagnostic
|
# Net Diagnostic
|
||||||
mtr
|
mtr
|
||||||
@@ -89,7 +93,6 @@ in
|
|||||||
# To save
|
# To save
|
||||||
tuios
|
tuios
|
||||||
bluetui
|
bluetui
|
||||||
nil
|
|
||||||
speedtest-cli
|
speedtest-cli
|
||||||
# jocalsend
|
# jocalsend
|
||||||
tlrc
|
tlrc
|
||||||
|
|||||||
@@ -22,22 +22,17 @@ let
|
|||||||
# };
|
# };
|
||||||
beetsEnv = pkgs.python314.withPackages (
|
beetsEnv = pkgs.python314.withPackages (
|
||||||
ps: with ps; [
|
ps: with ps; [
|
||||||
anyio # N
|
# et-xmlfile
|
||||||
lap # N
|
# exceptiongroup
|
||||||
llvmlite # N
|
# markdown-it-py
|
||||||
scipy # N
|
# mdurl
|
||||||
requests-ratelimiter # N
|
# munkres
|
||||||
pyrate-limiter # N
|
# musicbrainzngs
|
||||||
numpy # N
|
# openpyxl
|
||||||
numba # N
|
# pygments
|
||||||
et-xmlfile
|
# rich
|
||||||
markdown-it-py
|
# sniffio
|
||||||
mdurl
|
anyio
|
||||||
openpyxl
|
|
||||||
pygments
|
|
||||||
rich
|
|
||||||
setuptools # N
|
|
||||||
pysocks # N
|
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
beetcamp
|
beetcamp
|
||||||
beets
|
beets
|
||||||
@@ -46,31 +41,36 @@ let
|
|||||||
colorama
|
colorama
|
||||||
confuse
|
confuse
|
||||||
discogs-client
|
discogs-client
|
||||||
# exceptiongroup
|
|
||||||
filetype
|
filetype
|
||||||
h11
|
h11
|
||||||
httpcore
|
httpcore
|
||||||
httpx
|
httpx
|
||||||
httpx-socks
|
httpx-socks
|
||||||
socksio
|
|
||||||
idna
|
idna
|
||||||
jellyfish
|
jellyfish
|
||||||
langdetect
|
langdetect
|
||||||
|
lap
|
||||||
|
llvmlite
|
||||||
mediafile
|
mediafile
|
||||||
# munkres
|
|
||||||
# musicbrainzngs
|
|
||||||
mutagen
|
mutagen
|
||||||
|
numba
|
||||||
|
numpy
|
||||||
oauthlib
|
oauthlib
|
||||||
packaging
|
packaging
|
||||||
pillow
|
pillow
|
||||||
platformdirs
|
platformdirs
|
||||||
# pycountry
|
pycountry
|
||||||
pylast
|
pylast
|
||||||
|
pyrate-limiter
|
||||||
|
pysocks
|
||||||
python-dateutil
|
python-dateutil
|
||||||
pyyaml
|
pyyaml
|
||||||
requests
|
requests
|
||||||
|
requests-ratelimiter
|
||||||
|
scipy
|
||||||
|
# setuptools
|
||||||
six
|
six
|
||||||
# sniffio
|
socksio
|
||||||
soupsieve
|
soupsieve
|
||||||
typing-extensions
|
typing-extensions
|
||||||
unidecode
|
unidecode
|
||||||
@@ -79,8 +79,6 @@ let
|
|||||||
);
|
);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# nixpkgs.config.allowBroken = true;
|
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
users = {
|
users = {
|
||||||
"${xlib.device.username}" = {
|
"${xlib.device.username}" = {
|
||||||
@@ -101,25 +99,7 @@ in
|
|||||||
type = "none";
|
type = "none";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
what = "/home/${xlib.device.username}/Music";
|
what = "/home/${xlib.device.username}/Music";
|
||||||
where = "/mnt/beets/music";
|
where = "/home/${xlib.device.username}/.config/beets";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
# fileSystems."/mnt/beets/music" = {
|
|
||||||
# device = "/home/${xlib.device.username}/Music"; # "${xlib.dirs.vetymae-drive}/Users/User/Music"
|
|
||||||
# fsType = "none";
|
|
||||||
# options = [
|
|
||||||
# # "bind"
|
|
||||||
# "uid=1000"
|
|
||||||
# "gid=1000"
|
|
||||||
# "fmask=0077"
|
|
||||||
# "dmask=0077"
|
|
||||||
# "nofail"
|
|
||||||
# #"x-systemd.device-timeout=0"
|
|
||||||
# ];
|
|
||||||
# };
|
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
|
||||||
"d /mnt/beets 0700 ${xlib.device.username} users -"
|
|
||||||
"z /mnt/beets 0700 ${xlib.device.username} users -"
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user