Something went wrong. Try again.
Backup of my flake repo in case my knot is down
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475{ pkgs, config, lib, ...}:let cfg = config.py.users.default;in{ options.py.users.default.enable = lib.mkEnableOption "Default PyroNet Users"; options.py.user.name = lib.mkOption { type = lib.types.str; default = "thehedgehog"; description = "User for deploy-rs deployments."; };
config = lib.mkIf cfg.enable { users.users.pyrox = { description = "Pyrox"; isNormalUser = true; extraGroups = [ "adbusers" "wheel" "networkmanager" "video" "docker" "wireshark" "input" "i2c" ]; hashedPassword = "$y$j9T$Lwu/kwfIYVH6ApPNFv5TL.$xXtWoVxOKDW0xQtw7yf2JGWP3JI6r9WIqV19W0/zrg5"; shell = pkgs.fish; openssh = { authorizedKeys = { keyFiles = [ ./yubikey-new.pub ./yubikey-main.pub ./yubikey-back.pub ./backup.pub ]; keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP532AB5mkNvE29MkDDY8HEf8ZdktGWiI0PzLrvbmLQe" ]; }; }; }; users.users.thehedgehog = { description = "The Hedgehog"; isNormalUser = true; extraGroups = [ "adbusers" "wheel" "networkmanager" "video" "docker" "wireshark" "input" "i2c" ]; hashedPassword = "$y$j9T$Lwu/kwfIYVH6ApPNFv5TL.$xXtWoVxOKDW0xQtw7yf2JGWP3JI6r9WIqV19W0/zrg5"; shell = pkgs.fish; openssh = { authorizedKeys = { keyFiles = [ ./yubikey-new.pub ./yubikey-main.pub ./yubikey-back.pub ./backup.pub ]; keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP532AB5mkNvE29MkDDY8HEf8ZdktGWiI0PzLrvbmLQe" ]; }; }; }; };}