Skip to content

Instantly share code, notes, and snippets.

View con-f-use's full-sized avatar
💭
😱

con-f-use

💭
😱
  • A University, An IT Firm
  • Europe
View GitHub Profile
@con-f-use
con-f-use / ssh_principals.nix
Created December 27, 2023 22:23
SSH Principals nix module
{ config, lib, ... }:
{
options.users.users = lib.mkOption {
type = lib.types.attrsOf (
lib.types.submodule (
{ name, config, ... }: {
options.openssh.authorizedPrincipals = lib.mkOption {
type = lib.types.listOf lib.types.str;
example = ''[ "admins", "developers", "it-personnel" ]'';
description = lib.mdDoc ''
@con-f-use
con-f-use / misc_nix_links.md
Last active September 17, 2024 17:41
Random Nix Links