mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-29 19:46:17 +01:00
32 lines
667 B
Nix
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;
|
||
|
};
|
||
|
};
|
||
|
}
|