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
|
@ -8,7 +8,8 @@
|
|||
uris = [ "qemu:///system" ];
|
||||
};
|
||||
};
|
||||
home.persistence."${config.xdg.userDirs.extraConfig.XDG_PERSIST_DIR}".directories = with lib; with config.home; with config.xdg;
|
||||
[ "games/${removePrefix "${homeDirectory}/" stateHome}/dconf" ];
|
||||
home.persistence."${config.xdg.userDirs.extraConfig.XDG_PERSIST_DIR}".directories =
|
||||
with lib; with config.home; with config.xdg;
|
||||
[ "state/${removePrefix "${homeDirectory}/" configHome}/dconf" ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
./nix
|
||||
./nixgl
|
||||
./qt
|
||||
./user
|
||||
./xdg
|
||||
];
|
||||
}
|
||||
|
|
7
modules/home/settings/user/default.nix
Normal file
7
modules/home/settings/user/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
home = {
|
||||
username = "bun";
|
||||
homeDirectory = "/home/${config.home.username}";
|
||||
};
|
||||
}
|
|
@ -13,6 +13,7 @@
|
|||
extraConfig = {
|
||||
XDG_GAMES_DIR = "${homeDirectory}/Games";
|
||||
XDG_KEEPERS_DIR = "${homeDirectory}/Keepers";
|
||||
XDG_NETWORK_DIR = "${homeDirectory}/Network";
|
||||
XDG_PERSIST_DIR = if !config.targets.genericLinux.enable then "/persist${homeDirectory}" else "${homeDirectory}/.stow";
|
||||
XDG_PROJECTS_DIR = "${homeDirectory}/Projects";
|
||||
XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue