different-name / nix-files

My NixOS configuration files
GNU General Public License v3.0
9 stars 0 forks source link

Home folder structure improvements #20

Closed different-name closed 1 month ago

different-name commented 3 months ago

There's probably a better way to add packages than keeping a list of home.packages in home/global/default.nix Perhaps they should be added to the default.nix files in the global folder? This would help split up the general persistence.nix file as well

different-name commented 3 months ago

I don't want to split up the persistence.nix as mentioned, maybe i'll make a module that takes a list of sets in the following format, instead of having home.packages

[
  {
    package = pkgs.vesktop;
    folders = [
      ".config/vesktop"
    ];
  }
  {
    package = pkgs.unityhub;
    folders = [
      ".config/unityhub"
      ".config/unity3d"
    ];
  }
];
different-name commented 1 month ago

Took a different approach in #56