Today I stumbled upon usr lib and lib64 folders in my /. Having quite large and messy configuration.nix and beeing courious, I decided to see what could be causing this. After unsoucsessfull google search and hour of disabling modules and rebuilding I ended up with the following configuration
{ config, lib, pkgs, ... }:
{
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
];
boot = {
loader = {
grub = {
enable = true;
devices = [ "nodev" ];
efiSupport = true;
};
efi = {
canTouchEfiVariables = true;
};
};
};
services = {
# X.org
xserver = {
enable = true;
dpi = 170;
windowManager = {
i3 = {
enable = true;
};
};
};
};
networking = {
networkmanager = {
enable = true;
};
hostName = "X1_Yoga";
};
time = {
timeZone = "Europe/Prague";
};
system.stateVersion = "24.05"; # Did you read the comment?
}
yet the folders presist.
I have a suspicion this is somehow my stupidity and lack of ability to read the documentation, if so, please feel free to redirect me to the corresponding doc page. In the rare situation this is not the case, how the hell is that possible ?