[mpv] Merge module into user
This commit is contained in:
parent
c46a7ce9c3
commit
502f0f8bb0
4 changed files with 13 additions and 16 deletions
|
@ -40,6 +40,7 @@
|
|||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
zenith-nvidia
|
||||
wget
|
||||
];
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./git
|
||||
./mpv
|
||||
./sops
|
||||
./ssh
|
||||
./tea
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
{ config, system, lib, pkgs-unstable, ... }:
|
||||
|
||||
{
|
||||
home-manager.users.tdpeuter.home = {
|
||||
packages = with pkgs-unstable; [
|
||||
mpv
|
||||
];
|
||||
|
||||
file.".config/mpv".source = ../../../../stow/mpv/.config/mpv;
|
||||
};
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, pkgs-unstable, ... }:
|
||||
|
||||
let
|
||||
cfg = config.sisyphus.users.tdpeuter;
|
||||
|
@ -29,7 +29,7 @@ in {
|
|||
|
||||
# If you specify an application here, it will be detected by the configuration module
|
||||
# and the configuration files will be put in place for you.
|
||||
packages = with pkgs; [
|
||||
packages = (with pkgs; [
|
||||
duf
|
||||
jellyfin-media-player
|
||||
libreoffice-fresh
|
||||
|
@ -40,13 +40,21 @@ in {
|
|||
spotify
|
||||
unzip
|
||||
zathura
|
||||
zenith-nvidia
|
||||
];
|
||||
]) ++ (with pkgs-unstable; [
|
||||
mpv
|
||||
]);
|
||||
|
||||
# Put dotfiles in place.
|
||||
file = {
|
||||
".config/alacritty" = lib.mkIf (builtins.elem pkgs.alacritty installedPkgs) {
|
||||
source = ../../../../stow/alacritty/.config/alacritty;
|
||||
};
|
||||
".config/mpv" = lib.mkIf (builtins.elem pkgs-unstable.mpv installedPkgs) {
|
||||
source = ../../../../stow/mpv/.config/mpv;
|
||||
};
|
||||
".config/zellij" = lib.mkIf (builtins.elem pkgs.zellij installedPkgs) {
|
||||
source = ../../../../stow/zellij/.config/zellij;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue