mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-16 19:08:25 +01:00
containers: Add iamb
iamb is a TUI matrix client written in Rust.
This commit is contained in:
parent
e63b2c9122
commit
dd6f43e02d
@ -2,6 +2,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./dev.nix
|
./dev.nix
|
||||||
./gui.nix
|
./gui.nix
|
||||||
|
./iamb.nix
|
||||||
./obsidian.nix
|
./obsidian.nix
|
||||||
./rar.nix
|
./rar.nix
|
||||||
./srb2.nix
|
./srb2.nix
|
||||||
|
40
containers/iamb.nix
Normal file
40
containers/iamb.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user