chore: refactor
This commit is contained in:
parent
3281960408
commit
9ff256061a
12 changed files with 32 additions and 618 deletions
|
@ -1,8 +1,6 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./git.nix
|
||||
./nvim.nix
|
||||
./ssh.nix
|
||||
./zsh.nix
|
||||
./irc.nix
|
||||
./mpd.nix
|
||||
];
|
||||
}
|
||||
|
|
5
home-manager/sajenim/features/cli/irc.nix
Normal file
5
home-manager/sajenim/features/cli/irc.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
weechat
|
||||
];
|
||||
}
|
25
home-manager/sajenim/features/cli/mpd.nix
Normal file
25
home-manager/sajenim/features/cli/mpd.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -25,6 +25,11 @@
|
|||
user = "forgejo";
|
||||
identityFile = "/home/sajenim/.ssh/jasmine-forgejo_sk";
|
||||
};
|
||||
|
||||
"turing" = {
|
||||
hostname = "turing.une.edu.au";
|
||||
user = "jwils254";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue