mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-03-17 21:27:33 +01:00
actually use drumknotty
This commit is contained in:
@@ -196,6 +196,7 @@
|
|||||||
inputs.worblehat.nixosModules.default
|
inputs.worblehat.nixosModules.default
|
||||||
];
|
];
|
||||||
overlays = [
|
overlays = [
|
||||||
|
self.nixosModules.drumknotty
|
||||||
inputs.dibbler.overlays.default
|
inputs.dibbler.overlays.default
|
||||||
inputs.worblehat.overlays.default
|
inputs.worblehat.overlays.default
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -28,18 +28,22 @@
|
|||||||
|
|
||||||
sops.secrets = {
|
sops.secrets = {
|
||||||
"dibbler/postgresql/password" = {
|
"dibbler/postgresql/password" = {
|
||||||
owner = "dibbler";
|
owner = "drumknotty";
|
||||||
group = "dibbler";
|
group = "drumknotty";
|
||||||
|
};
|
||||||
|
"worblehat/postgresql/password" = {
|
||||||
|
owner = "drumknotty";
|
||||||
|
group = "drumknotty";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.dibbler = {
|
services.drumknotty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
kioskMode = true;
|
kioskMode = true;
|
||||||
limitScreenWidth = 80;
|
limitScreenWidth = 80;
|
||||||
limitScreenHeight = 42;
|
limitScreenHeight = 42;
|
||||||
|
|
||||||
settings = {
|
dibblerSettings = {
|
||||||
general.quit_allowed = false;
|
general.quit_allowed = false;
|
||||||
database = {
|
database = {
|
||||||
type = "postgresql";
|
type = "postgresql";
|
||||||
@@ -51,6 +55,18 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
worblehatSettings = {
|
||||||
|
general.quit_allowed = false;
|
||||||
|
database = {
|
||||||
|
type = "postgresql";
|
||||||
|
postgresql = {
|
||||||
|
username = "pvv_vv";
|
||||||
|
dbname = "pvv_vv";
|
||||||
|
host = "postgres.pvv.ntnu.no";
|
||||||
|
password_file = config.sops.secrets."worblehat/postgresql/password".path;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services."serial-getty@ttyUSB0" = lib.mkIf (!config.virtualisation.isVmVariant) {
|
systemd.services."serial-getty@ttyUSB0" = lib.mkIf (!config.virtualisation.isVmVariant) {
|
||||||
|
|||||||
Reference in New Issue
Block a user