From 004ff7fa716c3cce34e546c3d8358060ce315ebf Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 9 Mar 2024 11:04:57 -0600 Subject: [PATCH] Add section about partial installs in faq --- install.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/install.org b/install.org index e147c14..ce63889 100644 --- a/install.org +++ b/install.org @@ -143,3 +143,13 @@ Enable 3D acceleration for your virtual machine. Hyprland doesn't work without i *** It fails installing with some weird errors about grub or a bootloader? It will 100% fail if you test it with a non-default boot configuration. It might even give this error otherwise! If this is the case, try modifying =bootMountPath= (UEFI) or =grubDevice= (legacy BIOS) in =flake.nix= before installing again. + +*** The install seems to work, but when I login, I'm missing a lot of stuff (partial install) +This can happen if you run the autoinstall script on a system that already has a desktop environment, or if any other (non-Nix-store-symlink) config files are in the way of the config files generated by home-manager. In these cases, home-manager refuses to build anything, even if there's just one file in the way. If you try running =nix run home-manager/master -- switch --flake ~/.dotfiles#user=, it should throw an error at the end with something like: +#+begin_example +Existing file '/home/user/.gtkrc-2.0' is in the way of '/nix/store/6p3hzdbzhad8ra5j1qf4b2b3hs6as6sf-home-manager-files/.gtkrc-2.0' +Existing file '/home/user/.config/Trolltech.conf' is in the way of '/nix/store/6p3hzdbzhad8ra5j1qf4b2b3hs6as6sf-home-manager-files/.config/Trolltech.conf' +Existing file '/home/user/.config/user-dirs.conf' is in the way of '/nix/store/6p3hzdbzhad8ra5j1qf4b2b3hs6as6sf-home-manager-files/.config/user-dirs.conf' +... +#+end_example +The current solution to this is to delete or move the files mentioned so that home-manager can evaluate. Once the files are out of the way, just run =nix run home-manager/master -- switch --flake ~/.dotfiles#user= again and it should work!