2021-05-30 19:33:09 +00:00
|
|
|
{
|
2023-01-28 21:27:52 +00:00
|
|
|
self,
|
|
|
|
config,
|
|
|
|
hmUsers,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
psCfg = config.pub-solar;
|
|
|
|
in {
|
2021-05-30 19:33:09 +00:00
|
|
|
imports = [
|
|
|
|
./home.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
2023-01-28 21:46:46 +00:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
2023-01-28 21:27:52 +00:00
|
|
|
home-manager.users = {inherit (hmUsers) ben;};
|
2021-09-21 20:21:29 +00:00
|
|
|
|
2022-06-04 20:11:46 +00:00
|
|
|
services.yubikey-agent.enable = true;
|
|
|
|
|
2023-01-28 21:11:05 +00:00
|
|
|
age.secrets.b12f-env-secrets = {
|
|
|
|
file = "${self}/secrets/b12f-env-secrets";
|
|
|
|
mode = "400";
|
|
|
|
owner = psCfg.user.name;
|
|
|
|
};
|
|
|
|
|
2021-05-30 19:33:09 +00:00
|
|
|
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 = "ben";
|
2021-11-17 18:12:41 +00:00
|
|
|
description = "b12f";
|
2021-05-30 19:33:09 +00:00
|
|
|
password = "$6$LO2YoaHwuRQhUoSz$iHw9avM887eJg9cIty2nmG4Ibkol3YpviEhYpivVQP31VrnihFz/6LyugxD7X4VmXx9nxvcYIZnN90rlGxwjT.";
|
|
|
|
fullName = "Benjamin Bädorf";
|
|
|
|
email = "hello@benjaminbaedorf.eu";
|
|
|
|
gpgKeyId = "4406E80E13CD656C";
|
2022-08-14 10:47:20 +00:00
|
|
|
publicKeys = [
|
|
|
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDDoYNvXWunQYFORRjcYH1F98+zr20U79ROh+gmaC7AY/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rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDwyNsGCMuyI9x2IxYEbYIL6oYsEfe1wqhHaRxSnK9oc10ge1LJni5o7g6XgryoQpCD9YenImcCxwkKblmlLQ2327uoVC2PUo07li1uT0eIPk0TQoxwp6besFs7/LEzZlgWQsc3gkEXmjk/E0mu0U6z2fkqciJ/ZxWYt9fLP6jBG47U9878rSaZ7k7Ilv6oRA3suArH189k1nerk/tonS4EWXeHZxHh/Eu0tqwmxN/6+g2GicYn6b+MbFQVdQAkctqT5Yz9USm9UKzbaAuZ799u0dJzagHm9JJZOr8r11ENtAkY9kAzRzm3u/ACiSdVzyLdjAK6m0dIPhp3OhedzuHiI6/wRll60tYtQTH1XwUpVbtir3+DT+jwZgO1zH3yL4iNh79kuUo+UEg1ZmGkSZRzSS2vb5qr0J5aSJmCd5sNB7a01PTtSlQPOqSF9PB+UmcLDF7JoKFub0KT/gRZ5neZkXTYQ/Y05qtaaFVlOVISijnm+sLUvKBv6OW8oYXIHBk= ben@chocolatebar"
|
2022-08-14 10:47:20 +00:00
|
|
|
];
|
2021-05-30 19:33:09 +00:00
|
|
|
};
|
|
|
|
|
2022-11-28 10:39:28 +00:00
|
|
|
paperless = {
|
|
|
|
enable = false;
|
|
|
|
ocrLanguage = "nld+deu";
|
|
|
|
};
|
2022-08-10 20:43:31 +00:00
|
|
|
arduino.enable = true;
|
2021-05-30 19:33:09 +00:00
|
|
|
email.enable = true;
|
|
|
|
uhk.enable = true;
|
2022-08-10 20:43:31 +00:00
|
|
|
audio.spotify.enable = true;
|
|
|
|
audio.spotify.username = "spotify@benjaminbaedorf.eu";
|
2021-05-30 19:33:09 +00:00
|
|
|
};
|
|
|
|
|
2022-10-24 19:41:11 +00:00
|
|
|
# Needed for the udev rules for solaar
|
|
|
|
hardware.logitech.wireless.enable = true;
|
2023-01-28 21:27:52 +00:00
|
|
|
networking.hosts = let
|
|
|
|
localDomains = [
|
|
|
|
"openproject.local"
|
|
|
|
"traefik.local"
|
|
|
|
"nextcloud.local"
|
|
|
|
"step.local"
|
|
|
|
"saas-1.openproject.local"
|
|
|
|
"transmission.local"
|
|
|
|
];
|
|
|
|
in {
|
|
|
|
"127.0.0.1" = localDomains;
|
|
|
|
"::1" = localDomains;
|
|
|
|
};
|
2021-05-30 19:33:09 +00:00
|
|
|
};
|
|
|
|
}
|