Compare commits

...

2 Commits

Author SHA1 Message Date
randomuser 902ba05a54 changes 2 2023-12-20 15:45:45 -06:00
randomuser 48d9230d23 changes 2023-12-20 15:19:01 -06:00
2 changed files with 34 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" ];
}

24
flake.nix Normal file
View File

@ -0,0 +1,24 @@
{
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: {
nixosConfigurations = {
virtbox = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./bootstrap.nix
./boxes/virtbox.nix
];
};
};
};
}