From f764cfa36de3c0b38c920a432666e4cdbec1f151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Sat, 13 Aug 2022 18:53:50 +0200 Subject: [PATCH] Add server specific user --- flake.nix | 3 ++- users/yule/default.nix | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 users/yule/default.nix diff --git a/flake.nix b/flake.nix index 0b64905a..c67df6f3 100644 --- a/flake.nix +++ b/flake.nix @@ -128,7 +128,8 @@ biolimo = b12f ++ [ graphical ]; chocolatebar = b12f ++ [ graphical virtualisation ]; - droppie = b12f ++ [ ]; + yule = pubsolaros ++ [ users.yule ]; + droppie = yule ++ [ ]; }; }; }; diff --git a/users/yule/default.nix b/users/yule/default.nix new file mode 100644 index 00000000..a4940c6d --- /dev/null +++ b/users/yule/default.nix @@ -0,0 +1,23 @@ +{ config, hmUsers, pkgs, lib, ... }: +let + psCfg = config.pub-solar; +in +{ + config = { + home-manager.users = { inherit (hmUsers) yule; }; + + pub-solar = { + # These are your personal settings + # The only required settings are `name` and `password`, + # The rest is used for programs like git + user = { + name = "yule"; + description = "b12f"; + password = "$6$LO2YoaHwuRQhUoSz$iHw9avM887eJg9cIty2nmG4Ibkol3YpviEhYpivVQP31VrnihFz/6LyugxD7X4VmXx9nxvcYIZnN90rlGxwjT."; + fullName = "Benjamin Bädorf"; + email = "hello@benjaminbaedorf.eu"; + gpgKeyId = "4406E80E13CD656C"; + }; + }; + }; +}