Files
lxc-bootstrap/flake.nix
John Lancaster 665beb90f3 initial commit
2024-12-13 18:47:25 -06:00

30 lines
741 B
Nix

{
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
];
};
};
}