unfree packages

This commit is contained in:
Danilo Reyes 2023-10-05 11:52:52 -06:00
parent ecfbe3dd51
commit c16a6dc50c

View File

@ -161,7 +161,8 @@ nix = let featuresList = [
"gccarch-${cpuArchitecture}"
"gccarch-znver3"
];
in {
in
{
gc = {
automatic = true;
dates = "weekly";
@ -272,7 +273,13 @@ architecture and other build flags.
#+begin_src nix
nixpkgs = {
hostPlatform = lib.mkDefault "x86_64-linux";
config.allowUnfree = true;
config = {
allowUnfree = true;
permittedInsecurePackages = [
"openssl-1.1.1w"
"nodejs-14.21.3"
];
};
# localSystem = {
# gcc.arch = cpuArchitecture;
# gcc.tune = cpuArchitecture;
@ -864,6 +871,7 @@ services = {
workgroup = WORKGROUP
server string = ${config.networking.hostName}
netbios name = ${config.networking.hostName}
security = user
create mask = 0664
force create mode = 0664
@ -871,28 +879,25 @@ services = {
force directory mode = 0775
follow symlinks = yes
security = user
hosts allow = 192.168.0. localhost
hosts deny = 0.0.0.0/0
hosts allow = 192.168.0.0 localhost
# hosts deny = 0.0.0.0/0
guest account = nobody
map to guest = Bad user
map to guest = bad user
'';
shares = let
smbShare = mountName: {
path = "/export/${mountName}";
path = "/mnt/${mountName}";
browseable = "yes";
writable = "yes";
"read only" = "no";
"guest ok" = "yes";
# "write list" = "jawz";
"write list" = "jawz";
"force user" = "jawz";
"force group" = "WORKGROUP";
};
in {
disk1 = smbShare "disk1" // { };
disk2 = smbShare "disk2" // { };
jawz = smbShare "jawz" // { };
seedbox = smbShare "seedbox" // { };
pool = smbShare "pool" // { };
seedbox = smbShare "disks/seedbox" // { };
};
};
openssh = {