From 1777b976e96677b601e17b418f703acd88f2c279 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 13 May 2023 16:11:13 -0400 Subject: [PATCH] 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. --- configuration.nix | 48 ----------------------------------------------- 1 file changed, 48 deletions(-) diff --git a/configuration.nix b/configuration.nix index aaf7f375..028445fe 100644 --- a/configuration.nix +++ b/configuration.nix @@ -399,53 +399,5 @@ 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"; }