-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
agenix activation without perl is broken
systemd.sysusers.enable = false; ryantm/agenix#238
- Loading branch information
Showing
5 changed files
with
41 additions
and
7 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# WARNING: If you enable this profile, you will NOT be able to switch to a new | ||
# configuration and thus you will not be able to rebuild your system with | ||
# nixos-rebuild! | ||
|
||
{ lib, ... }: | ||
|
||
{ | ||
|
||
# Disable switching to a new configuration. This is not a necessary | ||
# limitation of a perlless system but just a current one. In the future, | ||
# perlless switching might be possible. | ||
system.switch.enable = lib.mkDefault false; | ||
|
||
# Remove perl from activation | ||
boot.initrd.systemd.enable = lib.mkDefault true; | ||
system.etc.overlay.enable = lib.mkDefault true; | ||
systemd.sysusers.enable = lib.mkDefault true; | ||
|
||
# Random perl remnants | ||
system.disableInstallerTools = lib.mkDefault true; | ||
programs.less.lessopen = lib.mkDefault null; | ||
programs.command-not-found.enable = lib.mkDefault false; | ||
boot.enableContainers = lib.mkDefault false; | ||
environment.defaultPackages = lib.mkDefault [ ]; | ||
documentation.info.enable = lib.mkDefault false; | ||
|
||
# Check that the system does not contain a Nix store path that contains the | ||
# string "perl". | ||
#FIXME https://github.com/ryantm/agenix/issues/238 | ||
#system.forbiddenDependenciesRegexes = ["perl"]; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters