exclude xterm and nixos docs

This commit is contained in:
Daniel Langbein 2024-01-18 11:53:04 +01:00
parent b41e44df76
commit b657437303
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
2 changed files with 5 additions and 5 deletions

View File

@ -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. # 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. # 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 # https://www.freedesktop.org/software/systemd/man/journald.conf.html
@ -94,6 +89,9 @@
# Delete all files in /tmp during boot. # Delete all files in /tmp during boot.
boot.tmp.cleanOnBoot = true; boot.tmp.cleanOnBoot = true;
# Whether to install NixOSs own documentation.
documentation.nixos.enable = false;
# Firewall. # Firewall.
# https://nixos.wiki/wiki/Firewall # https://nixos.wiki/wiki/Firewall
# Note: Firewall rules may be bypassed/overwritten by Docker, as per https://github.com/NixOS/nixpkgs/issues/111852 # Note: Firewall rules may be bypassed/overwritten by Docker, as per https://github.com/NixOS/nixpkgs/issues/111852

View File

@ -24,6 +24,8 @@
# Enable the X11 windowing system. # Enable the X11 windowing system.
services.xserver.enable = true; services.xserver.enable = true;
# Exclude xterm.
services.xserver.excludePackages = [ pkgs.xterm ];
# Enable the GNOME Desktop Environment. # Enable the GNOME Desktop Environment.
services.xserver.displayManager.gdm.enable = true; services.xserver.displayManager.gdm.enable = true;