initial commit
This commit is contained in:
0
.gitignore
vendored
Normal file
0
.gitignore
vendored
Normal file
29
flake.nix
Normal file
29
flake.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user