Change configuration structure for second device

This commit is contained in:
thiloho
2023-05-10 19:59:21 +02:00
parent 1b8af651e4
commit 56ede7e44b
5 changed files with 43 additions and 10 deletions

View File

@@ -9,10 +9,23 @@
outputs = inputs@{ nixpkgs, home-manager, ... }: {
nixosConfigurations = {
itachi = nixpkgs.lib.nixosSystem {
pc = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
./nixos-configurations/pc
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
};
}
];
};
laptop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./nixos-configurations/laptop
home-manager.nixosModules.home-manager
{
home-manager = {