This commit is contained in:
4DBug
2026-02-19 18:49:49 -06:00
parent 961351b098
commit 22df37a203
7 changed files with 84 additions and 50 deletions

View File

@@ -15,21 +15,22 @@
cloudflare-warp
packages
development
#cad
cad
mpd
virtualisation
flatpak
fish
dns
openssh
beets
];
nixos = {
networking.hostName = "nix";
services.logind.settings.Login = {
HandleLidSwitch = "ignore";
HandleLidSwitchDocked = "ignore";
HandleLidSwitch = "ignore";
HandleLidSwitchDocked = "ignore";
};
};
};

View File

@@ -15,13 +15,14 @@
#cloudflare-warp
packages
development
#cad
cad
mpd
virtualisation
flatpak
fish
dns
openssh
beets
];
nixos = {

View File

@@ -1,51 +1,53 @@
{
den.aspects.beets = {
homeManager = { pkgs, ... }: {
packages = with pkgs; [
beets
ffmpeg
chromaprint
];
home = {
packages = with pkgs; [
beets
ffmpeg
chromaprint
];
file.".config/beets/config.yaml".text = ''
library: ~/.local/share/beets/library.db
directory: ~/Music
file.".config/beets/config.yaml".text = ''
library: ~/.local/share/beets/library.db
directory: ~/Music
import:
write: true
copy: true
import:
write: true
copy: true
plugins:
- convert
- fetchart
- embedart
- fromfilename
- chroma
- smartplaylist
plugins:
- convert
- fetchart
- embedart
- fromfilename
- chroma
- smartplaylist
paths:
default: $artist/$album/$track - $title
paths:
default: $artist/$album/$track - $title
convert:
auto: true
format: opus
formats:
opus: ffmpeg -i $source -y -vn -c:a libopus -b:a 160k $dest
dest: /home/bug/Music
convert:
auto: true
format: opus
formats:
opus: ffmpeg -i $source -y -vn -c:a libopus -b:a 160k $dest
dest: /home/bug/Music
fetchart:
auto: yes
ifempty: yes
art_filename: folder
fetchart:
auto: yes
ifempty: yes
art_filename: folder
embedart:
auto: yes
embedart:
auto: yes
smartplaylist:
playlist_dir: ~/Music/playlists
relative_to: library
output: extm3u
'';
smartplaylist:
playlist_dir: ~/Music/playlists
relative_to: library
output: extm3u
'';
};
};
};
}

View File

@@ -7,7 +7,7 @@
stylix = {
enable = true;
autoEnable = true;
autoEnable = false;
polarity = "dark";
# catppuccin mocha

View File

@@ -1,5 +1,4 @@
{ den, ... }:
{
{ den, ... }: {
den.aspects.bug = {
includes = [
den.provides.primary-user