forked from pub-solar/os
Merge pull request 'Remove nonfree software' (#113) from feat/fucking-free into main
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/113 Reviewed-by: teutat3s <teutates@mailbox.org>
This commit is contained in:
commit
be016c44fb
|
@ -66,7 +66,9 @@
|
||||||
{
|
{
|
||||||
inherit self inputs;
|
inherit self inputs;
|
||||||
|
|
||||||
channelsConfig = { allowUnfree = true; };
|
channelsConfig = {
|
||||||
|
# allowUnfree = true;
|
||||||
|
};
|
||||||
|
|
||||||
supportedSystems = [ "x86_64-linux" "aarch64-linux" ];
|
supportedSystems = [ "x86_64-linux" "aarch64-linux" ];
|
||||||
|
|
||||||
|
|
|
@ -5,17 +5,19 @@ let
|
||||||
cfg = config.pub-solar.graphical;
|
cfg = config.pub-solar.graphical;
|
||||||
yamlFormat = pkgs.formats.yaml { };
|
yamlFormat = pkgs.formats.yaml { };
|
||||||
recursiveMerge = attrList:
|
recursiveMerge = attrList:
|
||||||
let f = attrPath:
|
let
|
||||||
zipAttrsWith (n: values:
|
f = attrPath:
|
||||||
if tail values == [ ]
|
zipAttrsWith (n: values:
|
||||||
then head values
|
if tail values == [ ]
|
||||||
else if all isList values
|
then head values
|
||||||
then unique (concatLists values)
|
else if all isList values
|
||||||
else if all isAttrs values
|
then unique (concatLists values)
|
||||||
then f (attrPath ++ [ n ]) values
|
else if all isAttrs values
|
||||||
else last values
|
then f (attrPath ++ [ n ]) values
|
||||||
);
|
else last values
|
||||||
in f [ ] attrList;
|
);
|
||||||
|
in
|
||||||
|
f [ ] attrList;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.pub-solar.graphical = {
|
options.pub-solar.graphical = {
|
||||||
|
@ -77,7 +79,6 @@ in
|
||||||
|
|
||||||
fonts.enableDefaultFonts = true;
|
fonts.enableDefaultFonts = true;
|
||||||
fonts.fonts = with pkgs; [
|
fonts.fonts = with pkgs; [
|
||||||
corefonts
|
|
||||||
fira-code
|
fira-code
|
||||||
fira-code-symbols
|
fira-code-symbols
|
||||||
google-fonts
|
google-fonts
|
||||||
|
|
|
@ -21,10 +21,6 @@ in
|
||||||
services.printing.defaultShared = false;
|
services.printing.defaultShared = false;
|
||||||
services.printing.drivers = [
|
services.printing.drivers = [
|
||||||
pkgs.gutenprint
|
pkgs.gutenprint
|
||||||
pkgs.brgenml1lpr
|
|
||||||
pkgs.brgenml1cupswrapper
|
|
||||||
pkgs.brlaser
|
|
||||||
pkgs.cups-brother-hl3140cw
|
|
||||||
];
|
];
|
||||||
hardware.sane = {
|
hardware.sane = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue