mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-28 11:13:59 +01:00
meta: Merge iamb container with wine
Similar to the previous commit, I'm trying to reduce build times here. Containers are great but each one increases the build time by a non-trivial amount. By limiting the amount of containers and using virtual machines for things that "absolutely need to be virtualized", build times overall should be more productive.
This commit is contained in:
parent
8bf12e9f3b
commit
a28b33a2d9
@ -1,7 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
./dev.nix
|
||||
./iamb.nix
|
||||
./srb2.nix
|
||||
./wine.nix
|
||||
];
|
||||
|
@ -1,39 +0,0 @@
|
||||
{ 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;
|
||||
};
|
||||
};
|
||||
|
||||
config = { pkgs, ... }: {
|
||||
imports = [
|
||||
stylix.nixosModules.stylix
|
||||
home-manager.nixosModules.home-manager
|
||||
../setup.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
iamb
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
@ -91,6 +91,7 @@
|
||||
sakaya.packages.${pkgs.system}.sakaya
|
||||
rar
|
||||
unrar
|
||||
iamb
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
|
Loading…
Reference in New Issue
Block a user