trying to add git

This commit is contained in:
John Lancaster
2024-12-13 19:46:25 -06:00
parent e9b5287547
commit e5f6e1e2c5

View File

@@ -10,21 +10,26 @@
let let
inherit (self) outputs; inherit (self) outputs;
nixosSystem = args.nixpkgs.lib.nixosSystem; nixosSystem = args.nixpkgs.lib.nixosSystem;
pkgs = args.nixpkgs.legacyPackages.x86_64-linux;
in in
{ {
nixosConfigurations.lxc = nixosSystem { nixosConfigurations.lxc = nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
packages = with args.nixpkgs.legacyPackages.x86_64-linux; [ specialArgs = {
git inherit pkgs;
];
# specialArgs = {
# inherit systemSettings; # inherit systemSettings;
# inherit userSettings; # inherit userSettings;
# }; };
modules = [ modules = [
(args.nixpkgs + "/nixos/modules/virtualisation/proxmox-lxc.nix") (args.nixpkgs + "/nixos/modules/virtualisation/proxmox-lxc.nix")
args.vscode-server.nixosModules.default 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 # ./configuration.nix
]; ];
}; };