diff --git a/modules/base.nix b/modules/base.nix index 48e4426..0e70404 100644 --- a/modules/base.nix +++ b/modules/base.nix @@ -64,11 +64,6 @@ ]; }; - # List packages installed in system profile. To search, run: - # $ nix search wget - environment.systemPackages = with pkgs; [ - ]; - # SystemMaxFileSize: Defaults to one eighth of the values configured with SystemMaxUse= and RuntimeMaxUse=, so that usually seven rotated journal files are kept as history. # MaxFileSec: To ensure that not too much data is lost at once when old journal files are deleted, it might make sense to change this value from the default of one month. # https://www.freedesktop.org/software/systemd/man/journald.conf.html @@ -94,6 +89,9 @@ # Delete all files in /tmp during boot. boot.tmp.cleanOnBoot = true; + # Whether to install NixOS’s own documentation. + documentation.nixos.enable = false; + # Firewall. # https://nixos.wiki/wiki/Firewall # Note: Firewall rules may be bypassed/overwritten by Docker, as per https://github.com/NixOS/nixpkgs/issues/111852 diff --git a/modules/gnome-base.nix b/modules/gnome-base.nix index 3d8d8ae..929d038 100644 --- a/modules/gnome-base.nix +++ b/modules/gnome-base.nix @@ -24,6 +24,8 @@ # Enable the X11 windowing system. services.xserver.enable = true; + # Exclude xterm. + services.xserver.excludePackages = [ pkgs.xterm ]; # Enable the GNOME Desktop Environment. services.xserver.displayManager.gdm.enable = true;