Update some formatting and move aliases into app specific nix files

This commit is contained in:
Bun 2025-04-04 21:11:51 -04:00
parent fb06bdf1f0
commit c50925b74b
9 changed files with 16 additions and 52 deletions

View file

@ -1,7 +1,6 @@
{ ... }:
{
services = {
blocky.enable = true;
cloudflare-dyndns.enable = true;
forgejo.enable = true;
icecast.enable = true;

View file

@ -10,7 +10,7 @@
};
colors = {
alpha = "0.85";
background = "${config.look.colors.dark}";
background = config.look.colors.dark;
regular0 = "3f3f3f";
regular1 = "cc0000";
regular2 = "4e9a06";

View file

@ -42,7 +42,7 @@
sponsorblock
ublock-origin
vimium
violentmonkey
violentmonkey
];
commonSearch = {
force = true;

View file

@ -8,4 +8,6 @@
pulsemixer
spotdl
];
home.shellAliases.spotopus = "spotdl --m3u --format opus";
}

View file

@ -1,16 +1,15 @@
{ config, lib, ... }:
{ config, ... }:
{
config = lib.mkIf config.home.desktop.enable {
programs.yt-dlp = {
enable = true;
settings = {
add-metadata = true;
embed-thumbnail = true;
convert-thumbnails = "jpg";
audio-format = "opus";
output = ''"%(artist)s - %(title)s.%(ext)s"'';
};
programs.yt-dlp = {
enable = config.home.desktop.enable;
settings = {
add-metadata = true;
embed-thumbnail = true;
convert-thumbnails = "jpg";
audio-format = "opus";
output = ''"%(artist)s - %(title)s.%(ext)s"'';
};
home.shellAliases.opusdl = "yt-dlp -f ba -x --audio-quality 0";
};
home.shellAliases.opusdl = "yt-dlp -f ba -x --audio-quality 0";
}

View file

@ -8,7 +8,6 @@
# Shortcuts
ff = "clear && fastfetch";
spotdl = "spotdl --m3u --format opus";
copycat = "wl-copy <";
myip = "curl ifconfig.co";
seneca = "ssh jhampton1@matrix.senecapolytechnic.ca";

View file

@ -23,13 +23,6 @@
systemd.tmpfiles.rules = [ "f /dev/shm/looking-glass 0660 - libvirtd -" ];
environment.persistence."/persist".directories = [
"/var/lib/libvirt/dnsmasq"
"/var/lib/libvirt/nwfilter"
"/var/lib/libvirt/qemu"
"/var/lib/libvirt/secrets"
"/var/lib/libvirt/storage"
"/var/lib/libvirt/swtpm"
];
environment.persistence."/persist".directories = [ "/var/lib/libvirt" ];
};
}

View file

@ -1,27 +0,0 @@
{ config, ... }:
{
services.blocky = {
settings = {
upstreams.groups.default = [
"2606:4700:4700::1111"
"2606:4700:4700::1001"
"1.1.1.1"
"1.0.0.1"
];
blocking = {
clientGroupsBlock.default = [
"pro"
"tif"
];
denylists = {
"pro" = [ "https://codeberg.org/hagezi/mirror2/raw/branch/main/dns-blocklists/wildcard/pro.txt" ];
"tif" = [ "https://codeberg.org/hagezi/mirror2/raw/branch/main/dns-blocklists/wildcard/tif.txt" ];
};
};
caching = {
prefetching = true;
minTime = "1m";
};
};
};
}

View file

@ -1,7 +1,6 @@
{ ... }:
{
imports = [
./blocky
./cfdyndns
./forgejo
./icecast