dotfiles/nixos/systems/blowhole/gcc-access.nix

32 lines
667 B
Nix
Raw Normal View History

{ config, pkgs, inputs, ... }:
let
in
{
containers.daria = {
ephemeral = false;
autoStart = true;
privateNetwork = true;
localAddress = "10.64.99.10";
hostAddress = "10.64.99.9";
config = {
nixpkgs.overlays = config.nixpkgs.overlays;
services.openssh.enable = true;
services.openssh.startWhenNeeded = false;
users.users.daria = {
initialPassword = "daria";
isNormalUser = true;
};
users.mutableUsers = true;
environment.systemPackages = with pkgs; [ gcc gdb git ];
imports = [ inputs.vscode-server.nixosModule ];
services.vscode-server.enable = true;
};
};
}