Restructure modules/shared and update all imports

- Rename modules/hosts/common to modules/shared
- Split shared into home/general, home/linux, and nixos subdirectories
- Update all import paths in lib/ and modules/hosts/
- Fix hardcoded /Users/ path to use config.home.homeDirectory
- Update .sops.yaml path for secrets
This commit is contained in:
Gene Liverman 2026-03-14 00:10:30 -04:00
parent 14fbadd9aa
commit 5047d93b86
No known key found for this signature in database
77 changed files with 44 additions and 359 deletions

View file

@ -10,8 +10,8 @@
{
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
../../common/linux/flatpaks.nix
../../common/linux/ripping.nix
../../../shared/nixos/flatpaks.nix
../../../shared/nixos/ripping.nix
];
system.stateVersion = "24.11"; # Did you read the comment?

View file

@ -1,9 +1,9 @@
{ ... }: {
home.stateVersion = "24.05";
imports = [
../../common/all-gui.nix
../../common/linux/apps/tilix.nix
../../common/linux/apps/xfce4-terminal.nix
../../../shared/home/general/all-gui.nix
../../../shared/home/linux/apps/tilix.nix
../../../shared/home/linux/apps/xfce4-terminal.nix
];
programs = {