add vm draft

This commit is contained in:
2024-04-07 21:38:22 +02:00
parent 0f1aa1fd2e
commit 5c44e12cf9
4 changed files with 147 additions and 0 deletions

View File

@@ -24,6 +24,18 @@
}
];
};
vm = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {inherit inputs;};
modules = [
./hosts/vm/configuration.nix
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.jonas = import ./home/jonas.home.nix;
}
];
};
};
};
}