u
This commit is contained in:
parent
adc642f3ca
commit
ac473d06bc
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
let
|
let
|
||||||
cfg = config.osbmModules.concentration;
|
cfg = config.osbmModules.concentration;
|
||||||
|
|
||||||
blockedSites = lib.flatten [
|
blockedSites = lib.flatten [
|
||||||
(lib.optional cfg.blockYoutube [
|
(lib.optional cfg.blockYoutube [
|
||||||
"youtube.com"
|
"youtube.com"
|
||||||
|
|
@ -24,7 +24,7 @@ let
|
||||||
"www.bluesky.app"
|
"www.bluesky.app"
|
||||||
])
|
])
|
||||||
];
|
];
|
||||||
|
|
||||||
hostsEntries = lib.concatMapStrings (site: "127.0.0.1 ${site}\n") blockedSites;
|
hostsEntries = lib.concatMapStrings (site: "127.0.0.1 ${site}\n") blockedSites;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue