diff --git a/flake.nix b/flake.nix index 9671143..156bf11 100644 --- a/flake.nix +++ b/flake.nix @@ -10,21 +10,26 @@ let inherit (self) outputs; nixosSystem = args.nixpkgs.lib.nixosSystem; + pkgs = args.nixpkgs.legacyPackages.x86_64-linux; in { nixosConfigurations.lxc = nixosSystem { system = "x86_64-linux"; - packages = with args.nixpkgs.legacyPackages.x86_64-linux; [ - git - ]; - # specialArgs = { - # inherit systemSettings; - # inherit userSettings; - # }; + specialArgs = { + inherit pkgs; + # inherit systemSettings; + # inherit userSettings; + }; modules = [ (args.nixpkgs + "/nixos/modules/virtualisation/proxmox-lxc.nix") args.vscode-server.nixosModules.default - ({ ... }: { services.vscode-server.enable = true; }) + ({ pkgs, ... }: { + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + services.vscode-server.enable = true; + environment.systemPackages = with pkgs; [ + git + ]; + }) # ./configuration.nix ]; };