64 lines
1.9 KiB
Nix
64 lines
1.9 KiB
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-24.05";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = inputs @ {
|
|
self,
|
|
nixpkgs,
|
|
home-manager,
|
|
...
|
|
}:
|
|
let
|
|
user = "vylpes";
|
|
in {
|
|
nixosConfigurations.vylpes-desktop = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = {inherit inputs self user;};
|
|
modules = [
|
|
./system/vylpes-desktop/configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.vylpes = import ./config/home.nix;
|
|
home-manager.extraSpecialArgs = {inherit inputs self user;};
|
|
}
|
|
];
|
|
};
|
|
|
|
nixosConfigurations.vylpes-framework = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = {inherit inputs self user;};
|
|
modules = [
|
|
./system/vylpes-framework/configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.vylpes = import ./config/home.nix;
|
|
home-manager.extraSpecialArgs = {inherit inputs self user;};
|
|
}
|
|
];
|
|
};
|
|
|
|
nixosConfigurations.vylpes-virt = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = {inherit inputs self user;};
|
|
modules = [
|
|
./system/vylpes-virt/configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.vylpes = import ./config/home.nix;
|
|
home-manager.extraSpecialArgs = {inherit inputs self user;};
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|