disallow unfree by default

This commit is contained in:
xunuwu 2024-10-24 16:35:24 +02:00
parent 716e9e7ac2
commit 17e15e69d1
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
12 changed files with 27 additions and 46 deletions

View file

@ -10,7 +10,6 @@
...
}: {
imports = [
super.nixpkgs
super.substituters
];

View file

@ -1,10 +0,0 @@
{
self,
super,
root,
}: {
nixpkgs = {
config.allowUnfree = true;
config.permittedInsecurePackages = [];
};
}

View file

@ -17,11 +17,7 @@
lm_sensors
fd # find replacement
graphviz-nox
(
if config.nixpkgs.config.allowUnfree
then p7zip-rar
else p7zip
)
p7zip
unar
openssl # for generating passwords
];

View file

@ -1,4 +1,4 @@
{pkgs, ...}: {
_: {pkgs, ...}: {
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
boot.kernelParams = ["amd_iommu=on" "iommu=pt"];