Switch to nixpkgs-fmt formatter
This commit is contained in:
parent
36f6903639
commit
ca59cb8f3c
45 changed files with 695 additions and 606 deletions
|
|
@ -77,7 +77,8 @@ let
|
|||
STOP
|
||||
'';
|
||||
};
|
||||
in {
|
||||
in
|
||||
{
|
||||
|
||||
networking = {
|
||||
hosts = { "127.0.0.1" = [ "ds.my.engine" "kdc.my.engine" "my.engine" ]; };
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@ let
|
|||
filterAttrs (_k: v: v.fsType == "btrfs") config.fileSystems;
|
||||
btrfsDevices =
|
||||
unique (attrValues (mapAttrs (_: v: v.device) btrfsFileSystems));
|
||||
in {
|
||||
in
|
||||
{
|
||||
services.btrfs.autoScrub = {
|
||||
enable = btrfsDevices != [ ];
|
||||
fileSystems = btrfsDevices;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@ let
|
|||
url =
|
||||
"https://github.com/notracking/hosts-blocklists/raw/master/dnsmasq/dnsmasq.blacklist.txt";
|
||||
};
|
||||
in {
|
||||
in
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [ 53 ];
|
||||
networking.firewall.allowedUDPPorts = [ 53 ];
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,9 @@
|
|||
let
|
||||
user_keys = user:
|
||||
lib.optionals (builtins.hasAttr "bertof" config.users.users)
|
||||
config.users.users.${user}.openssh.authorizedKeys.keys;
|
||||
in {
|
||||
config.users.users.${user}.openssh.authorizedKeys.keys;
|
||||
in
|
||||
{
|
||||
# nix.buildMachines
|
||||
nix.distributedBuilds = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue