mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
NixOS restructuring, move common imports to lib
This commit is contained in:
parent
f95cc09e13
commit
d72f1264b2
35 changed files with 33 additions and 92 deletions
|
|
@ -26,6 +26,9 @@
|
|||
useUserPackages = true;
|
||||
users.${username}.imports = [
|
||||
inputs.sops-nix.homeManagerModule # user-level secrets management
|
||||
../modules/hosts/common
|
||||
../modules/hosts/common/all-gui.nix
|
||||
../modules/hosts/darwin/home.nix
|
||||
../modules/hosts/darwin/${hostname}/${username}.nix
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -19,7 +19,9 @@
|
|||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users.${username}.imports = [
|
||||
../modules/home-manager/hosts/${hostname}/${username}.nix
|
||||
../modules/hosts/common
|
||||
../modules/hosts/common/linux/home.nix
|
||||
../modules/hosts/nixos/${hostname}/${username}.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -27,7 +29,7 @@
|
|||
inputs.nix-flatpak.nixosModules.nix-flatpak
|
||||
|
||||
inputs.sops-nix.nixosModules.sops # system wide secrets management
|
||||
../modules/system/common/all-nixos.nix # system-wide stuff
|
||||
../modules/hosts/nixos # system-wide stuff
|
||||
../modules/hosts/nixos/${hostname} # host specific stuff
|
||||
] ++ additionalModules;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue