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
|
2023-06-07 01:22:51 +02:00
|
|
|
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
|
2023-06-07 01:22:51 +02:00
|
|
|
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
|
2023-06-07 01:22:51 +02:00
|
|
|
profiles.osProfile
|
2023-06-07 17:15:29 +02:00
|
|
|
inputs.home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.materus = { config ,... }: {
|
|
|
|
imports = [
|
|
|
|
../home/materus
|
|
|
|
valkyrie/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
|
|
|
];
|
|
|
|
};
|
2023-05-18 12:07:07 +02:00
|
|
|
|
2023-06-07 00:53:21 +02:00
|
|
|
}
|