2010-09-25 10:32:57 +01:00
|
|
|
# This module defines a small NixOS configuration. It does not
|
|
|
|
# contain any graphical stuff.
|
|
|
|
|
2018-07-20 21:56:59 +01:00
|
|
|
{ config, lib, ... }:
|
2010-09-25 10:32:57 +01:00
|
|
|
|
2015-04-19 21:45:08 +01:00
|
|
|
with lib;
|
|
|
|
|
2010-09-25 10:32:57 +01:00
|
|
|
{
|
2015-04-19 21:45:08 +01:00
|
|
|
environment.noXlibs = mkDefault true;
|
2015-08-06 11:30:38 +01:00
|
|
|
|
2018-03-26 19:22:04 +01:00
|
|
|
documentation.enable = mkDefault false;
|
2016-11-22 21:24:37 +00:00
|
|
|
|
2022-05-02 09:02:44 +01:00
|
|
|
documentation.doc.enable = mkDefault false;
|
|
|
|
|
|
|
|
documentation.info.enable = mkDefault false;
|
|
|
|
|
|
|
|
documentation.man.enable = mkDefault false;
|
|
|
|
|
2019-01-26 19:44:05 +00:00
|
|
|
documentation.nixos.enable = mkDefault false;
|
2021-11-16 16:27:38 +00:00
|
|
|
|
2023-10-25 23:53:03 +01:00
|
|
|
# Perl is a default package.
|
|
|
|
environment.defaultPackages = mkDefault [ ];
|
|
|
|
|
2023-11-24 03:03:03 +00:00
|
|
|
environment.stub-ld.enable = false;
|
|
|
|
|
2023-10-25 23:53:03 +01:00
|
|
|
# The lessopen package pulls in Perl.
|
|
|
|
programs.less.lessopen = mkDefault null;
|
|
|
|
|
|
|
|
# This pulls in nixos-containers which depends on Perl.
|
|
|
|
boot.enableContainers = mkDefault false;
|
|
|
|
|
2021-11-16 16:27:38 +00:00
|
|
|
programs.command-not-found.enable = mkDefault false;
|
2022-10-21 13:41:26 +01:00
|
|
|
|
2022-04-27 17:57:48 +01:00
|
|
|
services.logrotate.enable = mkDefault false;
|
|
|
|
|
2022-04-26 20:47:08 +01:00
|
|
|
services.udisks2.enable = mkDefault false;
|
|
|
|
|
2022-10-21 13:41:26 +01:00
|
|
|
xdg.autostart.enable = mkDefault false;
|
|
|
|
xdg.icons.enable = mkDefault false;
|
|
|
|
xdg.mime.enable = mkDefault false;
|
|
|
|
xdg.sounds.enable = mkDefault false;
|
2010-09-25 10:32:57 +01:00
|
|
|
}
|