[vifm] Move into user
This commit is contained in:
parent
e958f212e9
commit
2b6dc708e8
3 changed files with 24 additions and 27 deletions
|
@ -4,7 +4,6 @@
|
||||||
./sops
|
./sops
|
||||||
./ssh
|
./ssh
|
||||||
./tea
|
./tea
|
||||||
./vifm
|
|
||||||
./vim
|
./vim
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
home-manager.users.tdpeuter.home = {
|
|
||||||
packages = with pkgs; [
|
|
||||||
vifm
|
|
||||||
|
|
||||||
chafa # Terminal image previewer
|
|
||||||
glow # Terminal Markdown renderer
|
|
||||||
|
|
||||||
font-awesome_5
|
|
||||||
];
|
|
||||||
|
|
||||||
# Put files separately so history still works
|
|
||||||
file = {
|
|
||||||
".config/vifm/colors".source = ../../../../stow/vifm/.config/vifm/colors;
|
|
||||||
".config/vifm/scripts".source = ../../../../stow/vifm/.config/vifm/scripts;
|
|
||||||
".config/vifm/vifmrc".source = ../../../../stow/vifm/.config/vifm/vifmrc;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -27,19 +27,26 @@ in {
|
||||||
homeDirectory = "/home/tdpeuter";
|
homeDirectory = "/home/tdpeuter";
|
||||||
stateVersion = config.system.stateVersion;
|
stateVersion = config.system.stateVersion;
|
||||||
|
|
||||||
|
fonts.fonts = with pkgs; [
|
||||||
|
font-awesome_5 # Dependency of Vifm config
|
||||||
|
];
|
||||||
|
|
||||||
# If you specify an application here, it will be detected by the configuration module
|
# 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.
|
# and the configuration files will be put in place for you.
|
||||||
packages = (with pkgs; [
|
packages = (with pkgs; [
|
||||||
duf
|
chafa # Terminal image viewer
|
||||||
|
duf # Df alternative
|
||||||
|
glow # Terminal Markdown renderer
|
||||||
jellyfin-media-player
|
jellyfin-media-player
|
||||||
libreoffice-fresh
|
libreoffice-fresh
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
nsxiv
|
nsxiv # Lightweight image viewer
|
||||||
obsidian
|
obsidian
|
||||||
qalculate-gtk
|
qalculate-gtk # Calculator
|
||||||
spotify
|
spotify
|
||||||
unzip
|
unzip
|
||||||
zathura
|
vifm # File manager
|
||||||
|
zathura # PDF viewer
|
||||||
]) ++ (with pkgs-unstable; [
|
]) ++ (with pkgs-unstable; [
|
||||||
mpv
|
mpv
|
||||||
]);
|
]);
|
||||||
|
@ -49,9 +56,22 @@ in {
|
||||||
".config/alacritty" = lib.mkIf (builtins.elem pkgs.alacritty installedPkgs) {
|
".config/alacritty" = lib.mkIf (builtins.elem pkgs.alacritty installedPkgs) {
|
||||||
source = ../../../../stow/alacritty/.config/alacritty;
|
source = ../../../../stow/alacritty/.config/alacritty;
|
||||||
};
|
};
|
||||||
|
|
||||||
".config/mpv" = lib.mkIf (builtins.elem pkgs-unstable.mpv installedPkgs) {
|
".config/mpv" = lib.mkIf (builtins.elem pkgs-unstable.mpv installedPkgs) {
|
||||||
source = ../../../../stow/mpv/.config/mpv;
|
source = ../../../../stow/mpv/.config/mpv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Put Vifm files separately so history fill still works.
|
||||||
|
".config/vifm/colors" = lib.mkIf (builtins.elem pkgs.vifm installedPkgs) {
|
||||||
|
source = ../../../../stow/vifm/.config/vifm/colors;
|
||||||
|
};
|
||||||
|
".config/vifm/scripts" = lib.mkIf (builtins.elem pkgs.vifm installedPkgs) {
|
||||||
|
source = ../../../../stow/vifm/.config/vifm/scripts;
|
||||||
|
};
|
||||||
|
".config/vifm/vifmrc" = lib.mkIf (builtins.elem pkgs.vifm installedPkgs) {
|
||||||
|
source = ../../../../stow/vifm/.config/vifm/vifmrc;
|
||||||
|
};
|
||||||
|
|
||||||
".config/zellij" = lib.mkIf (builtins.elem pkgs.zellij installedPkgs) {
|
".config/zellij" = lib.mkIf (builtins.elem pkgs.zellij installedPkgs) {
|
||||||
source = ../../../../stow/zellij/.config/zellij;
|
source = ../../../../stow/zellij/.config/zellij;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue