75 lines
1.8 KiB
Nix
75 lines
1.8 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./modules/terminal.nix
|
|
./modules/scripts.nix
|
|
./modules/email.nix
|
|
./modules/menu.nix
|
|
./modules/scripts.nix
|
|
|
|
./programs/scripts.nix
|
|
{
|
|
options.windowManager.modifierKey = lib.mkOption {default = "SUPER";};
|
|
}
|
|
];
|
|
|
|
programs.menu = {
|
|
package = pkgs.tofi;
|
|
dmenuCommand = "${pkgs.tofi}/bin/tofi --fuzzy-match true";
|
|
drunCommand = "${pkgs.tofi}/bin/tofi-drun --drun-launch true";
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
wl-clipboard
|
|
playerctl
|
|
quickemu
|
|
devenv
|
|
];
|
|
|
|
services.udiskie = {
|
|
enable = true;
|
|
notify = true;
|
|
};
|
|
|
|
programs.rbw.settings.pinentry = pkgs.pinentry-gnome3;
|
|
|
|
# https://docs.pipewire.org/page_module_raop_discover.html
|
|
xdg.configFile."pipewire/pipewire.conf.d/raop-discover.conf".text = ''
|
|
context.modules = [
|
|
{
|
|
name = libpipewire-module-raop-discover
|
|
args = { }
|
|
}
|
|
]
|
|
'';
|
|
xdg.configFile."pipewire/pipewire.conf.d/raop-sink.conf".text = ''
|
|
context.modules = [
|
|
{ name = libpipewire-module-raop-sink
|
|
args = {
|
|
# Set the remote address to tunnel to
|
|
raop.ip = "127.0.0.1"
|
|
raop.port = 8190
|
|
raop.name = "my-raop-device"
|
|
raop.hostname = "My Service"
|
|
#raop.transport = "udp"
|
|
raop.encryption.type = "RSA"
|
|
#raop.audio.codec = "PCM"
|
|
#raop.password = "****"
|
|
#audio.format = "S16"
|
|
#audio.rate = 44100
|
|
#audio.channels = 2
|
|
#audio.position = [ FL FR ]
|
|
stream.props = {
|
|
# extra sink properties
|
|
}
|
|
}
|
|
}
|
|
]
|
|
'';
|
|
|
|
services.gnome-keyring.enable = true;
|
|
}
|