initial commit

This commit is contained in:
John Lancaster
2024-12-13 18:47:25 -06:00
commit 665beb90f3
3 changed files with 30 additions and 0 deletions

0
.gitignore vendored Normal file
View File

1
README.md Normal file
View File

@@ -0,0 +1 @@
# LXC Bootstrap

29
flake.nix Normal file
View File

@@ -0,0 +1,29 @@
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
vscode-server.url = "github:nix-community/nixos-vscode-server";
};
outputs = { self, ... }@args:
let
inherit (self) outputs;
nixosSystem = args.nixpkgs.lib.nixosSystem;
in
{
nixosConfigurations.lxc = nixosSystem {
system = "x86_64-linux";
# specialArgs = {
# inherit systemSettings;
# inherit userSettings;
# };
modules = [
(args.nixpkgs + "/nixos/modules/virtualisation/proxmox-lxc.nix")
args.vscode-server.nixosModules.default
({ ... }: { services.vscode-server.enable = true; })
# ./configuration.nix
];
};
};
}