modularize olm thing
This commit is contained in:
parent
082253c7cb
commit
5ccc7c34c0
7 changed files with 12 additions and 31 deletions
|
@ -4,13 +4,8 @@
|
|||
}: let
|
||||
inherit (config.poz.other.system) username;
|
||||
in {
|
||||
nixpkgs.config = {
|
||||
permittedInsecurePackages = [
|
||||
"olm-3.2.16"
|
||||
];
|
||||
# fuck broadcom
|
||||
allowUnfree = true;
|
||||
};
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
users.users.${username} = {
|
||||
extraGroups = [ "docker" ];
|
||||
|
|
|
@ -8,6 +8,7 @@ _: {
|
|||
./docs.nix
|
||||
./nix.nix
|
||||
./oomd.nix
|
||||
./permit-olm.nix
|
||||
./pin-registry.nix
|
||||
./preserve-system.nix
|
||||
./switch-ng.nix
|
||||
|
|
5
hosts/common/core/permit-olm.nix
Normal file
5
hosts/common/core/permit-olm.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
_: {
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"olm-3.2.16"
|
||||
];
|
||||
}
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue