Nixerus/configurations/host/default.nix

43 lines
1.1 KiB
Nix
Raw Normal View History

2023-06-07 00:53:21 +02:00
{ inputs, materusFlake }:
2023-05-18 12:07:07 +02:00
2023-06-07 00:53:21 +02:00
let
profiles = import ../profile;
2023-06-07 00:53:21 +02:00
in
{
2023-05-18 12:07:07 +02:00
materusPC = inputs.nixpkgs.lib.nixosSystem rec {
2023-06-07 00:53:21 +02:00
specialArgs = { inherit inputs; inherit materusFlake; };
system = "x86_64-linux";
modules = [
./materusPC
inputs.private.systemModule
profiles.osProfile
inputs.home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.materus = { config ,... }: {
imports = [
../home/materus
materusPC/extraHome.nix
profiles.homeProfile
inputs.private.homeModule
];
materus.profile.nixpkgs.enable = false;
};
home-manager.extraSpecialArgs = { inherit inputs; inherit materusFlake; };
}
2023-06-07 00:53:21 +02:00
];
};
valkyrie = inputs.nixpkgs.lib.nixosSystem rec {
specialArgs = { inherit inputs; inherit materusFlake; };
system = "x86_64-linux";
modules = [
./valkyrie
inputs.private.systemModule
profiles.osProfile
2023-06-07 00:53:21 +02:00
];
};
2023-05-18 12:07:07 +02:00
2023-06-07 00:53:21 +02:00
}