Add lnf NixOS, SSH keys and kiosk changes
This commit is contained in:
parent
cf4f07e8b2
commit
4c927e29f0
2 changed files with 32 additions and 3 deletions
|
|
@ -66,6 +66,12 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
lnf = nixpkgs.lib.nixosSystem {
|
lnf = nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
modules = [
|
||||||
|
./lnf/configuration.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
lnf-live = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
({ pkgs, modulesPath, ... }: {
|
({ pkgs, modulesPath, ... }: {
|
||||||
|
|
|
||||||
|
|
@ -71,12 +71,32 @@
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINGHadFhDCUU/ta3p1FQgpm7NExHkyHNrJbNJP6np5w9 kempinger@ins.jku.at"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINGHadFhDCUU/ta3p1FQgpm7NExHkyHNrJbNJP6np5w9 kempinger@ins.jku.at"
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMTpZThOE2EeDZ1rS7ynLS3mGtoSIQ9WazZDBUdP9THi tth@tth-worker"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMTpZThOE2EeDZ1rS7ynLS3mGtoSIQ9WazZDBUdP9THi tth@tth-worker"
|
||||||
|
# Michael Roland
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC7CHRy95muwEYKpQOL5T02vQEwSgJL8Z/q2YPXiV17+ ED25519/mroland@INSMR02NB/20250209"
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILf0Wca6U/ee6NN7uxPMVSeHoNpLBM3K0pDA9Cmdblqc ED25519-KEY/mroland@MRPHONE2022/20220511"
|
||||||
|
|
||||||
|
# René Mayrhofer
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH/IX6NdpL3qW8gnfnDcXw906N7PCLuGHgCHdsMlR6Lh"
|
||||||
|
|
||||||
|
# Franz Bauer
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGLNosW/ZcQErMFuNA8pzKNKnaISvVj4Um7Y4D7151t7 FJB_ed25519_4INS-Server"
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ0h7HWbl3CpX8TCQmG/CjQVVTGpzegQJupGgykB5shJ eddsa-key-20250826"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
users.users.root = {
|
users.users.root = {
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINGHadFhDCUU/ta3p1FQgpm7NExHkyHNrJbNJP6np5w9 kempinger@ins.jku.at"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINGHadFhDCUU/ta3p1FQgpm7NExHkyHNrJbNJP6np5w9 kempinger@ins.jku.at"
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMTpZThOE2EeDZ1rS7ynLS3mGtoSIQ9WazZDBUdP9THi tth@tth-worker"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMTpZThOE2EeDZ1rS7ynLS3mGtoSIQ9WazZDBUdP9THi tth@tth-worker"
|
||||||
|
# Michael Roland
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC7CHRy95muwEYKpQOL5T02vQEwSgJL8Z/q2YPXiV17+ ED25519/mroland@INSMR02NB/20250209"
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILf0Wca6U/ee6NN7uxPMVSeHoNpLBM3K0pDA9Cmdblqc ED25519-KEY/mroland@MRPHONE2022/20220511"
|
||||||
|
|
||||||
|
# René Mayrhofer
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH/IX6NdpL3qW8gnfnDcXw906N7PCLuGHgCHdsMlR6Lh"
|
||||||
|
|
||||||
|
# Franz Bauer
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGLNosW/ZcQErMFuNA8pzKNKnaISvVj4Um7Y4D7151t7 FJB_ed25519_4INS-Server"
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ0h7HWbl3CpX8TCQmG/CjQVVTGpzegQJupGgykB5shJ eddsa-key-20250826"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -101,9 +121,12 @@
|
||||||
wlr-randr
|
wlr-randr
|
||||||
kmsxx
|
kmsxx
|
||||||
libinput
|
libinput
|
||||||
|
swayimg
|
||||||
vlc
|
vlc
|
||||||
ffmpeg-full
|
ffmpeg-full
|
||||||
python3
|
(pkgs.python3.withPackages (python-pkgs: with python-pkgs; [
|
||||||
|
requests
|
||||||
|
]))
|
||||||
jq
|
jq
|
||||||
bash
|
bash
|
||||||
|
|
||||||
|
|
@ -132,7 +155,7 @@
|
||||||
# writable by the kiosk user at runtime
|
# writable by the kiosk user at runtime
|
||||||
environment.etc."cage/current-cmd" = {
|
environment.etc."cage/current-cmd" = {
|
||||||
mode = "0777";
|
mode = "0777";
|
||||||
text = "ls -al";
|
text = "curl -sL https://www.ins.jku.at/images/logos/logo-jku-ins-360x118.png | swayimg -f -";
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.cage-tty1 = {
|
systemd.services.cage-tty1 = {
|
||||||
|
|
@ -148,7 +171,7 @@
|
||||||
services.cage = {
|
services.cage = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = "user";
|
user = "user";
|
||||||
program = "/etc/cage/current-cmd";
|
program = "${pkgs.bash}/bin/bash /etc/cage/current-cmd";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.getty.loginProgram = "${pkgs.coreutils}/bin/true";
|
services.getty.loginProgram = "${pkgs.coreutils}/bin/true";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue