1
0
forked from extern/nix-config

containers: Add iamb

iamb is a TUI matrix client written in Rust.
This commit is contained in:
Donovan Glover 2023-06-23 10:39:37 -04:00
parent e63b2c9122
commit dd6f43e02d
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 41 additions and 0 deletions

View File

@ -2,6 +2,7 @@
imports = [
./dev.nix
./gui.nix
./iamb.nix
./obsidian.nix
./rar.nix
./srb2.nix

40
containers/iamb.nix Normal file
View File

@ -0,0 +1,40 @@
{ stylix, home-manager, ... }:
{
containers.iamb = {
privateNetwork = true;
ephemeral = true;
hostAddress = "192.168.100.70";
localAddress = "192.168.100.71";
bindMounts = {
"/home/user" = {
hostPath = "/home/user/containers/iamb";
isReadOnly = false;
};
waylandDisplay = rec {
hostPath = "/run/user/1000";
mountPoint = hostPath;
};
x11Display = rec {
hostPath = "/tmp/.X11-unix";
mountPoint = hostPath;
isReadOnly = true;
};
};
config = { pkgs, ... }: {
imports = [
stylix.nixosModules.stylix
home-manager.nixosModules.home-manager
../setup.nix
];
environment.systemPackages = with pkgs; [
iamb
];
};
};
}