30 lines
741 B
Nix
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
|
|
];
|
|
};
|
|
};
|
|
}
|