Add SSH configuration, move more things to xdg dirs
This commit is contained in:
parent
48ce4411be
commit
517b0a5981
14 changed files with 67 additions and 35 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgsStable, ... }:
|
||||
{ config, lib, pkgsStable, ... }:
|
||||
{
|
||||
programs.ranger = {
|
||||
enable = true;
|
||||
|
@ -94,28 +94,28 @@
|
|||
|
||||
# Ranger's bookmarks and necessary tools
|
||||
home = {
|
||||
file = {
|
||||
".local/share/ranger/bookmarks".text = ''
|
||||
file = with lib; with config.home; with config.xdg; with config.xdg.userDirs; with config.xdg.userDirs.extraConfig; {
|
||||
"${removePrefix "${homeDirectory}/" dataHome}/ranger/bookmarks".text = ''
|
||||
# Local files
|
||||
h:${config.home.homeDirectory}
|
||||
k:${config.home.homeDirectory}/Keepers
|
||||
d:${config.home.homeDirectory}/Downloads
|
||||
j:${config.home.homeDirectory}/Documents
|
||||
p:${config.home.homeDirectory}/Photos
|
||||
v:${config.home.homeDirectory}/Videos
|
||||
n:${config.home.homeDirectory}/Projects/nixos-config
|
||||
c:${config.home.homeDirectory}/.config
|
||||
l:${config.home.homeDirectory}/.local
|
||||
q:/persist
|
||||
h:${homeDirectory}
|
||||
k:${XDG_KEEPERS_DIR}
|
||||
d:${download}
|
||||
j:${documents}
|
||||
p:${pictures}
|
||||
v:${videos}
|
||||
n:${XDG_PROJECTS_DIR}/nixos-config
|
||||
c:${configHome}
|
||||
l:${dataHome}
|
||||
q:${XDG_PERSIST_DIR}
|
||||
w:/mnt
|
||||
|
||||
# Remote files
|
||||
N:${config.home.homeDirectory}/Network
|
||||
H:${config.home.homeDirectory}/Network/Midas/
|
||||
K:${config.home.homeDirectory}/Network/Midas/Files
|
||||
M:${config.home.homeDirectory}/Network/Midas/Music
|
||||
V:${config.home.homeDirectory}/Network/Midas/Videos
|
||||
P:${config.home.homeDirectory}/Network/Midas/Photos
|
||||
N:${XDG_NETWORK_DIR}/
|
||||
H:${XDG_NETWORK_DIR}/Midas/
|
||||
K:${XDG_NETWORK_DIR}/Midas/Files
|
||||
M:${XDG_NETWORK_DIR}/Midas/Music
|
||||
V:${XDG_NETWORK_DIR}/Midas/Videos
|
||||
P:${XDG_NETWORK_DIR}/Midas/Photos
|
||||
'';
|
||||
};
|
||||
packages = with pkgsStable; [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue