Compare commits
No commits in common. "e12fc523d6d36133ab3397de0de2a669cbf8dec5" and "95bc8f3c705e3c2b4d66bdbd42956bb1fa7a8296" have entirely different histories.
e12fc523d6
...
95bc8f3c70
2 changed files with 2 additions and 11 deletions
|
|
@ -12,7 +12,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.postgresql.postStart = lib.mkAfter ''
|
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 ];
|
environment.systemPackages = with pkgs; [ attic-client ];
|
||||||
|
|
|
||||||
|
|
@ -29,20 +29,11 @@
|
||||||
boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
|
boot.loader.efi.canTouchEfiVariables = lib.mkForce false;
|
||||||
boot.loader.grub.enable = true;
|
boot.loader.grub.enable = true;
|
||||||
|
|
||||||
security.sudo.wheelNeedsPassword = false;
|
|
||||||
|
|
||||||
security.tpm2.enable = false;
|
security.tpm2.enable = false;
|
||||||
security.tpm2.abrmd.enable = false;
|
security.tpm2.abrmd.enable = false;
|
||||||
|
|
||||||
networking.wireless.enable = false;
|
networking.wireless.enable = false;
|
||||||
networking.useDHCP = false;
|
networking.dhcpcd.IPv6rs = true;
|
||||||
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.allowedTCPPorts = [ 8080 ];
|
||||||
networking.firewall.allowPing = true;
|
networking.firewall.allowPing = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue