config: disable user-dirs generation for homeConfigurations

This commit is contained in:
Gabriel Arazas 2023-10-02 18:15:50 +08:00
parent c410ece05a
commit 9d9d5e240f
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -356,6 +356,11 @@
path = ./users/home-manager/${name}; path = ./users/home-manager/${name};
extraModules = [ extraModules = [
({ pkgs, config, ... }: { ({ pkgs, config, ... }: {
# Don't create the user directories since they are assumed to
# be already created by a pre-installed system (which should
# already handle them).
xdg.userDirs.createDirectories = false;
# To be able to use the most of our config as possible, we want # To be able to use the most of our config as possible, we want
# both to use the same overlays. # both to use the same overlays.
nixpkgs.overlays = overlays; nixpkgs.overlays = overlays;