mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
containers(wordpress): drop
This was a cool experiment however I no longer have a need for the WordPress container.
This commit is contained in:
parent
c0ebf438a3
commit
125dea6b30
@ -104,48 +104,5 @@ in
|
||||
hardware.graphics.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
wordpress = {
|
||||
privateNetwork = true;
|
||||
ephemeral = true;
|
||||
autoStart = true;
|
||||
|
||||
hostAddress = "192.168.100.24";
|
||||
localAddress = "192.168.100.39";
|
||||
|
||||
specialArgs = {
|
||||
inherit nix-config;
|
||||
};
|
||||
|
||||
config =
|
||||
{ nix-config, pkgs, ... }:
|
||||
{
|
||||
imports = with nix-config.nixosModules; [
|
||||
system
|
||||
];
|
||||
|
||||
users.defaultUserShell = pkgs.fish;
|
||||
|
||||
programs = {
|
||||
fish.enable = true;
|
||||
neovim.enable = true;
|
||||
};
|
||||
|
||||
environment = {
|
||||
systemPackages = with pkgs; [ kitty ];
|
||||
shells = with pkgs; [ fish ];
|
||||
|
||||
variables = {
|
||||
TERM = "xterm-kitty";
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
firewall.allowedTCPPorts = [ 80 ];
|
||||
};
|
||||
|
||||
services.wordpress.sites.localhost = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user