mirror of
https://github.com/Noratrieb/vps.git
synced 2026-07-12 08:17:45 +02:00
minipc
This commit is contained in:
parent
131a282338
commit
9dd5ae6698
44 changed files with 353 additions and 79 deletions
|
|
@ -2,9 +2,12 @@
|
|||
let
|
||||
pretense = import (pkgs.fetchFromGitHub my-projects-versions.pretense.fetchFromGitHub);
|
||||
quotdd = import (pkgs.fetchFromGitHub my-projects-versions.quotdd.fetchFromGitHub);
|
||||
networkConfig = networkingConfig."${name}";
|
||||
in
|
||||
{
|
||||
deployment.targetHost = "${name}.infra.noratrieb.dev";
|
||||
deployment.targetHost =
|
||||
if networkConfig.publicIPv4 == null
|
||||
then name else "${name}.infra.noratrieb.dev";
|
||||
|
||||
# TODO: ensure that the rust programs have frame pointers
|
||||
|
||||
|
|
@ -20,6 +23,8 @@ in
|
|||
nixPath = [ "nixpkgs=${nixpkgs-path}" ];
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
wget
|
||||
|
|
@ -27,10 +32,14 @@ in
|
|||
traceroute
|
||||
dnsutils
|
||||
nftables
|
||||
htop
|
||||
];
|
||||
|
||||
networking.hostName = name;
|
||||
|
||||
# Swiss german console tty keyboard layout
|
||||
console.keyMap = "sg";
|
||||
|
||||
time.timeZone = "Europe/Zurich";
|
||||
users.users.root.openssh.authorizedKeys.keys = [ ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG0n1ikUG9rYqobh7WpAyXrqZqxQoQ2zNJrFPj12gTpP nilsh@PC-Nils'' ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue