Commit ac9f2730 authored by fpletz's avatar fpletz 🚧
Browse files

luftschleuse: updates

parent 04f8193e
......@@ -22,11 +22,11 @@
]
},
"locked": {
"lastModified": 1645867939,
"narHash": "sha256-p3vHHMM5W6ojmStJqKpLvdnzxxKGG015U7OK6PJE8lo=",
"lastModified": 1645905972,
"narHash": "sha256-wP5R/s7JOQ8DWByflZreLfGwBTY6pzjEAT+Mrhd74U8=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "c7a13f76a78bb5c225ca5e08e9a109347d130792",
"rev": "ccd00e3c93b89b26ca86749cfe64b371e2dd7910",
"type": "github"
},
"original": {
......@@ -45,11 +45,11 @@
]
},
"locked": {
"lastModified": 1645883623,
"narHash": "sha256-qEVHqsxF0wMcaWfJFGEASWLcuYXMXE6LMdGoYW5KmcA=",
"lastModified": 1645914979,
"narHash": "sha256-YwWpN5+tC5hCzTWeJ2fxq90iPx9tbFczP6lBomBHH2k=",
"owner": "muccc",
"repo": "luftschleuse2",
"rev": "7aec79221fb6e388e9d946fca56bea2ff56e5349",
"rev": "2c763e5c5666e6611a83045130e3c44e1f9ae8cc",
"type": "github"
},
"original": {
......@@ -120,11 +120,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1645883541,
"narHash": "sha256-rEyWMCwPKz/gOE3cchfgybcG/dDMKaV6jdG/hPtTiv0=",
"lastModified": 1645913264,
"narHash": "sha256-YLGXGxnRkr2ek51urTcJtH/xtH9vKOMYAW6lRXqpsxY=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "064765b8ebaa6d894cdc1603fb7d2f35f297a2dd",
"rev": "a178e05ae83c1be86a12287c4a695ef2b76c32b0",
"type": "github"
},
"original": {
......
......@@ -54,8 +54,6 @@ in
firewall.trustedInterfaces = [ "wlan0" "eth0" ];
};
services.resolved.enable = false;
systemd.network.networks."40-wlan0" = {
linkConfig.RequiredForOnline = false;
};
......@@ -84,6 +82,13 @@ in
users.root.openssh.authorizedKeys.keys = [
# FIXME
"ssh-ed25519 AA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MYEs1aZ4NYjl55QeIrpHg3fb9xFHhJ6bFZyM6BVTeYroyvYRv1rXQLSYv7uzE7xa9WIznkjwyZUBH0WavWMlFds3YBER2UvFzJqu7989g1EWFTeEJM0tegkWFFwKtonVmnTdWVeWTdDWyIUlSLgpss/wxzStf22AmCXPH9AbQ3uWKRBqzSKeHq4mt9rcPXrhAbuY6g8/1yMBd2S25zm7jWFeQCXMOetniw2ugCF5TsUJEVBSxB4MGvUotUyugbEOzgIqOoBmUZ62x5FmqIZD9vcinbFlCX/grDtEbMQ60Re5LBU/95TVLiHH49fMdTo0jXF"
];
users.open = {
isNormalUser = true;
......@@ -130,7 +135,15 @@ in
wpa = false;
};
systemd.services.lockd = let lockdCfg = pkgs.writeText "lockd.cfg" ''
services.nginx = {
enable = true;
virtualHosts."_" = {
root = "/nonexisting";
locations."/generate_204".extraConfig = "return 204;";
};
};
environment.etc."lockd.cfg".text = ''
[Front Door]
type = door
address = A
......@@ -176,11 +189,13 @@ in
[Status Receiver]
host = 127.0.0.1
port = 2080
''; in {
'';
systemd.services.lockd = {
wantedBy = [ "multi-user.target" ];
serviceConfig = {
Restart = "always";
ExecStart = "${pkgs.luftschleuse2-lockd}/bin/lockd ${lockdCfg}";
ExecStart = "${pkgs.luftschleuse2-lockd}/bin/lockd /etc/lockd.cfg";
};
};
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment