meta: Remove declarative containers

Because of how easy it is to create and run virtual machines in NixOS,
the use of containers is not necessary. Virtual machines additionally
outperform containers when it comes to graphical tasks, and allow for
the usage of a variety of GUI applications separate from the host.
This commit is contained in:
Donovan Glover 2023-05-13 16:11:13 -04:00
parent b21a7742fe
commit 1777b976e9
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -399,53 +399,5 @@
HOLD: KEY_RIGHTMETA HOLD: KEY_RIGHTMETA
''; '';
containers.test = let hostCfg = config;
in {
autoStart = false;
privateNetwork = true;
hostAddress = "192.168.100.10";
localAddress = "192.168.100.11";
config = { config, pkgs, ... }: {
programs.fish.enable = true;
users.defaultUserShell = pkgs.fish;
environment.shells = with pkgs; [ fish ];
programs.npm.enable = true;
nix.package = pkgs.nixFlakes;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
programs.neovim.enable = true;
environment.systemPackages = with pkgs; [
p7zip
kitty
git
unzip
ripgrep
gcc
trashy
wget
exa
fd
fzf
gdu
ranger
];
environment.variables = { TERM = "xterm-kitty"; };
users.mutableUsers = false;
users.allowNoPasswordLogin = true;
users.users.user = {
isNormalUser = true;
home = "/home/user";
};
environment.defaultPackages = [ ];
system.stateVersion = "22.11";
};
};
system.stateVersion = "22.11"; system.stateVersion = "22.11";
} }