added seperate vm profiles due to hardware.nix differences.
This commit is contained in:
parent
5331e6c5ee
commit
f25e8b716e
7 changed files with 226 additions and 4 deletions
21
flake.nix
21
flake.nix
|
@ -33,17 +33,32 @@
|
|||
# NixOS configuration entrypoint
|
||||
# Available through 'nixos-rebuild --flake .#your-hostname'
|
||||
nixosConfigurations = {
|
||||
archlaptop = nixpkgs.lib.nixosSystem {
|
||||
archlaptop-vm = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {inherit inputs outputs;};
|
||||
# > Our main nixos configuration file <
|
||||
modules = [
|
||||
./hosts/archlaptop/configuration.nix
|
||||
./hosts/archlaptop-vm/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.gabe = import ./hosts/archlaptop/home.nix;
|
||||
home-manager.users.gabe = import ./hosts/archlaptop-vm/home.nix;
|
||||
home-manager.extraSpecialArgs = {inherit inputs outputs;};
|
||||
}
|
||||
];
|
||||
};
|
||||
workstation-vm = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {inherit inputs outputs;};
|
||||
# > Our main nixos configuration file <
|
||||
modules = [
|
||||
./hosts/workstation-vm/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.gabe = import ./hosts/workstation-vm/home.nix;
|
||||
home-manager.extraSpecialArgs = {inherit inputs outputs;};
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue