chore: refactor

This commit is contained in:
♥ Minnie ♥ 2025-02-26 00:23:03 +08:00
parent 3281960408
commit 9ff256061a
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
12 changed files with 32 additions and 618 deletions

View file

@ -1,8 +1,6 @@
{...}: {
imports = [
./git.nix
./nvim.nix
./ssh.nix
./zsh.nix
./irc.nix
./mpd.nix
];
}

View file

@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = with pkgs; [
weechat
];
}

View file

@ -0,0 +1,25 @@
{pkgs, ...}: {
services.mpd = {
enable = true;
musicDirectory = "nfs://viridian.home.arpa/srv/multimedia/library/music";
dbFile = null;
extraConfig = ''
database {
plugin "proxy"
host "viridian.home.arpa"
port "6600"
}
audio_output {
type "pipewire"
name "pipewire server"
server "127.0.0.1" # MPD must connect to the local sound server
}
'';
};
services.mpd-discord-rpc = {
enable = true;
package = pkgs.unstable.mpd-discord-rpc;
};
}

View file

@ -25,6 +25,11 @@
user = "forgejo";
identityFile = "/home/sajenim/.ssh/jasmine-forgejo_sk";
};
"turing" = {
hostname = "turing.une.edu.au";
user = "jwils254";
};
};
};
}