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