Compare commits
3 commits
95bc8f3c70
...
e12fc523d6
| Author | SHA1 | Date | |
|---|---|---|---|
| e12fc523d6 | |||
| 2ca35ba38d | |||
| 179dd93a5b |
2 changed files with 11 additions and 2 deletions
|
|
@ -12,7 +12,7 @@
|
|||
};
|
||||
|
||||
systemd.services.postgresql.postStart = lib.mkAfter ''
|
||||
$PSQL -tAc 'ALTER DATABASE "attic" OWNER TO "atticd"'
|
||||
psql -tAc 'ALTER DATABASE "attic" OWNER TO "atticd"'
|
||||
'';
|
||||
|
||||
environment.systemPackages = with pkgs; [ attic-client ];
|
||||
|
|
|
|||
|
|
@ -29,11 +29,20 @@
|
|||
boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
|
||||
boot.loader.grub.enable = true;
|
||||
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
security.tpm2.enable = false;
|
||||
security.tpm2.abrmd.enable = false;
|
||||
|
||||
networking.wireless.enable = false;
|
||||
networking.dhcpcd.IPv6rs = true;
|
||||
networking.useDHCP = false;
|
||||
networking.useNetworkd = true;
|
||||
systemd.network.networks."30-wan" = {
|
||||
matchConfig.Name = "enp1s0";
|
||||
networkConfig.DHCP = "ipv4";
|
||||
address = [ "2a01:4f9:c014:619::1/64" ];
|
||||
routes = [{ Gateway = "fe80::1"; }];
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ 8080 ];
|
||||
networking.firewall.allowPing = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue