seperate out hosts file
This commit is contained in:
parent
9d9b24800e
commit
c29586f312
3 changed files with 13 additions and 9 deletions
11
common/concentration.nix
Normal file
11
common/concentration.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ pkgs, lib, config, ... }: {
|
||||||
|
|
||||||
|
networking.extraHosts =
|
||||||
|
''
|
||||||
|
0.0.0.0 youtube.com
|
||||||
|
::0 youtube.com
|
||||||
|
|
||||||
|
0.0.0.0 www.youtube.com
|
||||||
|
::0 www.youtube.com
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
../../common/arduino.nix
|
../../common/arduino.nix
|
||||||
../../common/firefox.nix
|
../../common/firefox.nix
|
||||||
../../common/common-packages.nix
|
../../common/common-packages.nix
|
||||||
|
../../common/concentration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# stylix.enable = true;
|
# stylix.enable = true;
|
||||||
|
|
@ -45,15 +46,6 @@
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
|
|
||||||
networking.extraHosts =
|
|
||||||
''
|
|
||||||
0.0.0.0 youtube.com
|
|
||||||
::0 youtube.com
|
|
||||||
|
|
||||||
0.0.0.0 www.youtube.com
|
|
||||||
::0 www.youtube.com
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
# You can disable this if you're only using the Wayland session.
|
# You can disable this if you're only using the Wayland session.
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
../../common/arduino.nix
|
../../common/arduino.nix
|
||||||
../../common/firefox.nix
|
../../common/firefox.nix
|
||||||
../../common/common-packages.nix
|
../../common/common-packages.nix
|
||||||
|
../../common/concentration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue