dotfiles/nixos/systems/blowhole/gcc-access.nix
Magic_RB 48066a7e0d
Add codespace container
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-03 18:37:57 +02:00

32 lines
667 B
Nix

{ 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;
};
};
}