mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-02-20 00:47:52 +01:00
Compare commits
2 Commits
9d7cadbcbe
...
036f0e1701
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
036f0e1701 | ||
|
|
c1ada2f94d |
@@ -3,7 +3,6 @@
|
||||
lib,
|
||||
config,
|
||||
values,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
@@ -15,6 +14,8 @@
|
||||
(fp /base)
|
||||
];
|
||||
|
||||
boot.consoleLogLevel = 0;
|
||||
|
||||
sops.defaultSopsFile = fp /secrets/skrot/skrot.yaml;
|
||||
|
||||
systemd.network.networks."enp2s0" = values.defaultNetworkConfig // {
|
||||
@@ -34,7 +35,7 @@
|
||||
|
||||
services.dibbler = {
|
||||
enable = true;
|
||||
kioskMode = false;
|
||||
kioskMode = true;
|
||||
limitScreenWidth = 80;
|
||||
limitScreenHeight = 42;
|
||||
|
||||
@@ -46,11 +47,17 @@
|
||||
username = "pvv_vv";
|
||||
dbname = "pvv_vv";
|
||||
host = "postgres.pvv.ntnu.no";
|
||||
password = config.sops.secrets."dibbler/postgresql/password".path;
|
||||
password_file = config.sops.secrets."dibbler/postgresql/password".path;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services."serial-getty@ttyUSB0" = lib.mkIf (!config.virtualisation.isVmVariant) {
|
||||
enable = true;
|
||||
wantedBy = [ "getty.target" ]; # to start at boot
|
||||
serviceConfig.Restart = "always"; # restart when session is closed
|
||||
};
|
||||
|
||||
system.stateVersion = "25.11"; # Did you read the comment? Nah bro
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user