This commit is contained in:
randomuser 2023-12-20 15:19:01 -06:00
parent fa82b10cbf
commit 48d9230d23
2 changed files with 32 additions and 0 deletions

10
bootstrap.nix Normal file
View File

@ -0,0 +1,10 @@
{ config, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
}

22
flake.nix Normal file
View File

@ -0,0 +1,22 @@
{
description = "rndusr's nixos flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
home-manager = {
url = "github:nix-community/home-manager/release-23.11";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, ... }@inputs: {
"virtbox" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./bootstrap.nix
./boxes/virtbox.nix
];
};
};
}