modularize olm thing

This commit is contained in:
jacekpoz 2024-09-01 22:59:25 +02:00
parent 082253c7cb
commit 5ccc7c34c0
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
7 changed files with 12 additions and 31 deletions

View file

@ -4,13 +4,8 @@
}: let
inherit (config.poz.other.system) username;
in {
nixpkgs.config = {
permittedInsecurePackages = [
"olm-3.2.16"
];
# fuck broadcom
allowUnfree = true;
};
# fuck broadcom
nixpkgs.config.allowUnfree = true;
users.users.${username} = {
extraGroups = [ "docker" ];

View file

@ -8,6 +8,7 @@ _: {
./docs.nix
./nix.nix
./oomd.nix
./permit-olm.nix
./pin-registry.nix
./preserve-system.nix
./switch-ng.nix

View file

@ -0,0 +1,5 @@
_: {
nixpkgs.config.permittedInsecurePackages = [
"olm-3.2.16"
];
}

View file

@ -11,12 +11,7 @@
inherit (config.poz.other.system) username;
in {
nixpkgs.config = {
permittedInsecurePackages = [
"olm-3.2.16"
];
allowUnfree = true;
};
nixpkgs.config.allowUnfree = true;
nix.settings = {
max-jobs = 2;

View file

@ -6,12 +6,7 @@
}: let
inherit (lib.attrsets) attrValues;
in {
nixpkgs.config = {
permittedInsecurePackages = [
"olm-3.2.16"
];
allowUnfree = true;
};
nixpkgs.config.allowUnfree = true;
systemd.oomd = {
enable = true;

View file

@ -7,12 +7,7 @@
}: let
inherit (lib.meta) getExe;
in {
nixpkgs.config = {
permittedInsecurePackages = [
"olm-3.2.16"
];
allowUnfree = true;
};
nixpkgs.config.allowUnfree = true;
boot = {
extraModulePackages = [

View file

@ -10,12 +10,7 @@
inherit (config.poz.other.system) username;
in {
nixpkgs.config = {
permittedInsecurePackages = [
"olm-3.2.16"
];
allowUnfree = true;
};
nixpkgs.config.allowUnfree = true;
nix.settings = {
max-jobs = 2;