nixnew/modules/user/general.nix

72 lines
1.2 KiB
Nix

{ pkgs, config, ... }: {
home-manager.users.${config.main-user} = homeInputs: let
homeConfig = homeInputs.config;
in {
imports = [
./modules/wofi
./modules/dolphin
];
home.packages = with pkgs; [
ark
kwrite
krita
gimp
vlc
mpv
gpicview
filelight
cantata
logseq
bitwarden
element-desktop
lxqt.pavucontrol-qt
helvum
htop
btop
speedcrunch
libsForQt5.kwallet
libsForQt5.kwalletmanager
distrobox
xdg-utils
unrar # used by ark
];
programs = {
alacritty = import ./config/alacritty.nix;
};
programs = {
direnv = {
enable = true;
nix-direnv.enable = true;
};
};
services = {
kdeconnect = {
enable = true;
indicator = true;
};
mpd = {
enable = true;
musicDirectory = "${homeConfig.home.homeDirectory}/Music";
network.startWhenNeeded = true;
extraConfig = ''
audio_output {
type "pipewire"
name "Pipewire"
}
replaygain "track"
replaygain_limit "no"
'';
};
};
};
}