feat(flake): move to withSystem & implement defaults system input

This commit is contained in:
ooks-io 2024-06-16 15:40:41 +12:00
parent 2152c91101
commit f9a2e83e74
4 changed files with 64 additions and 72 deletions

View file

@ -1,8 +1,4 @@
{ lib, pkgs, ... }:
let
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBn3ff3HaZHIyH4K13k8Mwqu/o7jIABJ8rANK+r2PfJk";
in
{ lib, pkgs, keys, ... }:
{
imports = [
@ -17,7 +13,7 @@ in
admin = {
name = "ooks";
shell = "fish";
sshKey = key;
sshKey = "${keys.users.ooks}";
homeManager = true;
};
networking = {