Switch to nixfmt
This commit is contained in:
parent
44794e2c3d
commit
5b974a203b
63 changed files with 990 additions and 946 deletions
|
|
@ -77,8 +77,7 @@ let
|
|||
STOP
|
||||
'';
|
||||
};
|
||||
in
|
||||
{
|
||||
in {
|
||||
|
||||
networking = {
|
||||
hosts = { "127.0.0.1" = [ "ds.my.engine" "kdc.my.engine" "my.engine" ]; };
|
||||
|
|
|
|||
|
|
@ -1,3 +1 @@
|
|||
{
|
||||
services.do-agent.enable = true;
|
||||
}
|
||||
{ services.do-agent.enable = true; }
|
||||
|
|
|
|||
|
|
@ -4,8 +4,7 @@ let
|
|||
url =
|
||||
"https://github.com/notracking/hosts-blocklists/raw/master/dnsmasq/dnsmasq.blacklist.txt";
|
||||
};
|
||||
in
|
||||
{
|
||||
in {
|
||||
networking.firewall.allowedTCPPorts = [ 53 ];
|
||||
networking.firewall.allowedUDPPorts = [ 53 ];
|
||||
|
||||
|
|
|
|||
|
|
@ -1,16 +1,37 @@
|
|||
{
|
||||
nix.registry = {
|
||||
agenix = {
|
||||
from = { id = "agenix"; type = "indirect"; };
|
||||
to = { type = "github"; owner = "ryantm"; repo = "agenix"; };
|
||||
from = {
|
||||
id = "agenix";
|
||||
type = "indirect";
|
||||
};
|
||||
to = {
|
||||
type = "github";
|
||||
owner = "ryantm";
|
||||
repo = "agenix";
|
||||
};
|
||||
};
|
||||
my-templates = {
|
||||
from = { id = "my-templates"; type = "indirect"; };
|
||||
to = { type = "github"; owner = "bertof"; repo = "flake-templates"; };
|
||||
from = {
|
||||
id = "my-templates";
|
||||
type = "indirect";
|
||||
};
|
||||
to = {
|
||||
type = "github";
|
||||
owner = "bertof";
|
||||
repo = "flake-templates";
|
||||
};
|
||||
};
|
||||
tex2nix = {
|
||||
from = { id = "tex2nix"; type = "indirect"; };
|
||||
to = { type = "github"; owner = "Mic92"; repo = "tex2nix"; };
|
||||
from = {
|
||||
id = "tex2nix";
|
||||
type = "indirect";
|
||||
};
|
||||
to = {
|
||||
type = "github";
|
||||
owner = "Mic92";
|
||||
repo = "tex2nix";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,10 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
user_keys = user: lib.optionals
|
||||
(builtins.hasAttr "bertof" config.users.users)
|
||||
user_keys = user:
|
||||
lib.optionals (builtins.hasAttr "bertof" config.users.users)
|
||||
config.users.users.${user}.openssh.authorizedKeys.keys;
|
||||
in
|
||||
{
|
||||
in {
|
||||
# nix.buildMachines
|
||||
nix.distributedBuilds = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue