diff --git a/hswaw/machines/sound.waw.hackerspace.pl/configuration.nix b/hswaw/machines/sound.waw.hackerspace.pl/configuration.nix index 12ecc830..91dec937 100644 --- a/hswaw/machines/sound.waw.hackerspace.pl/configuration.nix +++ b/hswaw/machines/sound.waw.hackerspace.pl/configuration.nix @@ -1,10 +1,11 @@ -{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: let hw = builtins.fromJSON (builtins.readFile ./hw.json); ssh-keys = { vuko = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFhaCaC/CVYv6hphqmEdKaPrIn+Q946+myvL9SSnzFZk vuko@eagle"; informatic = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDoKB2p/gFaKthQNXeQvSLzhOlLSq3vjVL3AEOBTMXGH informatic@atuin"; + q3k = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG599UildOrAq+LIOQjKqtGMwjgjIxozI1jtQQRKHtCP q3k@mimeomia"; }; networks = { lan = { @@ -232,7 +233,7 @@ in { }; # TODO extract ssh keys synchronization from customs and add it here - users.users.root.openssh.authorizedKeys.keys = [ ssh-keys.vuko ssh-keys.informatic ]; + users.users.root.openssh.authorizedKeys.keys = lib.mapAttrsToList (_: v: v) ssh-keys; environment.systemPackages = with pkgs; [ system-vim tcpdump htop nmon tmux git file procps parted dmidecode ack utillinux