trying to add git
This commit is contained in:
17
flake.nix
17
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 = {
|
||||
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
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user