Compare commits

..

No commits in common. "501f70f7301c66bd80187e0f7c60ad5cd8c29918" and "015f316640f5fc1b7bca25bc0e577e38588fe311" have entirely different histories.

22 changed files with 52 additions and 98 deletions

View File

@ -150,7 +150,7 @@
}; };
pcscd.enable = true; pcscd.enable = true;
yubikey-agent.enable = true; yubikey-agent.enable = true;
udev.packages = [ pkgs.yubikey-personalization pkgs.nitrokey-udev-rules ]; udev.packages = [ pkgs.yubikey-personalization ];
#flatpak.enable = true; # download flatpak file from website - sudo flatpak install <path> - reboot if not showing up #flatpak.enable = true; # download flatpak file from website - sudo flatpak install <path> - reboot if not showing up
# sudo flatpak uninstall --delete-data <app-id> (> flatpak list --app) - flatpak uninstall --unused # sudo flatpak uninstall --delete-data <app-id> (> flatpak list --app) - flatpak uninstall --unused
# List: # List:

View File

@ -44,9 +44,9 @@
# enable = false; # enable = false;
# extraBackends = [ pkgs.sane-airscan ]; # extraBackends = [ pkgs.sane-airscan ];
# }; # };
# hardware = { hardware = {
# nitrokey.enable = true; nitrokey.enable = true;
# }; };
# environment = { # environment = {
# systemPackages = with pkgs; [ # systemPackages = with pkgs; [

View File

@ -1,4 +1,4 @@
{ pkgs, config, ... }: { pkgs, ... }:
{ {
users.users.nixremote = { # System User users.users.nixremote = { # System User
@ -11,15 +11,7 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILczsj4W1kFQaalFwaY+RJ4LEzNeFKD+itXB40Q2O59M nixremote@hades" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILczsj4W1kFQaalFwaY+RJ4LEzNeFKD+itXB40Q2O59M nixremote@hades"
]; ];
}; };
nix.settings.trusted-users = [ nix.settings.trusted-users = [
"nixremote" "nixremote"
]; ];
services.nix-serve.secretKeyFile = config.age.secrets."keys/nixservepriv".path;
age.secrets."keys/nixservepriv" = {
file = ../../secrets/keys/nixservepriv.age;
owner = "nixremote";
};
} }

View File

@ -15,14 +15,6 @@
publicHostKey = "c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSUVnbld5UVVVYSt2Y0hBS3g2ZWRiVGdxVzhwaCtNQ2lTNmZVd1lqWWNTK28gcm9vdEBoYWRlcwo=%"; publicHostKey = "c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSUVnbld5UVVVYSt2Y0hBS3g2ZWRiVGdxVzhwaCtNQ2lTNmZVd1lqWWNTK28gcm9vdEBoYWRlcwo=%";
protocol = "ssh-ng"; protocol = "ssh-ng";
} ]; } ];
settings = {
trusted-public-keys = [
"hades-builder:AFdPgi6Qq/yKqc2V2imgzMikEkVEFCrDaHyAmOJ3MII="
];
substituters = [
"ssh-ng://hades"
];
};
}; };
age.secrets."keys/nixremote" = { age.secrets."keys/nixremote" = {

View File

@ -27,10 +27,10 @@
''; '';
initExtra = '' # Zsh theme initExtra = '' # Zsh theme
export GPG_TTY=$(tty) #export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null #gpg-connect-agent updatestartuptty /bye >/dev/null
unset SSH_AGENT_PID #unset SSH_AGENT_PID
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh" #export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
# Spaceship # Spaceship
source ${pkgs.spaceship-prompt}/share/zsh/site-functions/prompt_spaceship_setup source ${pkgs.spaceship-prompt}/share/zsh/site-functions/prompt_spaceship_setup
autoload -U promptinit; promptinit autoload -U promptinit; promptinit

Binary file not shown.

View File

@ -1,27 +0,0 @@
age-encryption.org/v1
-> ssh-ed25519 Xp6AuQ 6zWeAuAxt6YI5JdPep5QqfWfTRWJi3T49vb75URi8SY
IjcXC5MKPYGErpGhpeHMcgaugrVHyFg3z6TN0vhvGH8
-> ssh-rsa VtjGpQ
Ii3fw9b5i1T5fJL+3PXczo5EW1iE/Jp/pEQ8qpCUc+9dX6n/x6uz8IblSVYWNQnc
0TPAmvZlXN9zAL9yL9fIsZDK0ZF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I®Ä'% Î<>œÞÔoSQÑë†]ô±D<02>D'Zâ᯹/i1éø./'<27>¹ámžüˆ
lÖÚ¾mY|”fÙ†OÃé݃šÎèq?̬¾“°Ãa¶äò€SCÿt^†™Ó•

View File

@ -38,9 +38,6 @@ let
jupiter jupiter
steamdeck steamdeck
]; ];
buildServer = [
hades
];
in in
{ {
"services/postgresql/initScript.age".publicKeys = servers ++ users; "services/postgresql/initScript.age".publicKeys = servers ++ users;
@ -58,5 +55,4 @@ in
"services/gitea/mailerPassword.age".publicKeys = servers ++ users; "services/gitea/mailerPassword.age".publicKeys = servers ++ users;
"services/woodpecker/environment.age".publicKeys = servers ++ users; "services/woodpecker/environment.age".publicKeys = servers ++ users;
"keys/nixremote.age".publicKeys = buildClients ++ users; "keys/nixremote.age".publicKeys = buildClients ++ users;
"keys/nixservepriv.age".publicKeys = buildServer ++ users;
} }

Binary file not shown.

View File

@ -1,23 +1,24 @@
age-encryption.org/v1 age-encryption.org/v1
-> ssh-ed25519 neExcQ WtmJzAU0LpM3+meYwlydkBJ9+GEOrT3aD2fKZuTIdWI -> ssh-ed25519 neExcQ uxF7XBZs30Y7MnsPqgqZK8U0RypsU3ZSkEGPs3z6MWo
5Bt3tu+IF3646Vp3No5vOqCJfqpTL1SO2AUNLSAeapc U38OQUsd4+JAhSoNlm8Bq4vYjLIlxbtEPRNryTId7qw
-> ssh-rsa VtjGpQ -> ssh-rsa VtjGpQ
F/OrwpSkP/jCHEmodbTFC8KCklgjl8CJ8R2xbtdEofrs24vf8s5ELRvj3fwNb2B8 WX552pdtAV7QTsG5PP1r+EPsao0Q+sBUFOVsGCI2zLQJM5m8UGjIJqsNu3xQMsbL
qv3h5ZV09Xe/eifPYyE63/U7bUqnZ/ub+CNv3A24Jn1VSiXRxok9MLFaNfmrLxNO f67taemm3FVuSlfZ4+O0NP2T16FH6lVF5gLidCTyvvY1r1LJ3bUKrkvgVsdH4TYZ
72hKvKQmg8DSEoxLnYwM5dPBxC8X2Q+yJ8o/9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-p256 grR75w Ar7XlPFZhFXD7EGVV1qpgatYzXtxv+iW4K7j+j51A4Ff -> piv-p256 grR75w AjdWi5E2CDMoTeXhua6CDa1T69jZYCZtDVzYqIip8SPG
BgL570FWX3jzf1IMQtETYbdy6GSipYv7nFugSO8OypM VxA4E27nD9omkx33BcdnC7CFUIKjYJhYcn3+ZhXoYgc
-> piv-p256 RQguQQ AxSpkZbv//1jfTX6M2IlSpLJTmmdkzUOBAvC3RjGIfWr -> piv-p256 RQguQQ A66b5yIOS6X1KpBwwSIt6/0kscRCijqp7C5OdZzyVFC0
qJrDWnxNsrdgJ5WEIEjUAxZavktd6OB14d75fAARC/c G3EuJyFbhulryG3e5mtdjcYH8rRWOezcItF9Cy+IL+s
-> ;2:g1-grease ^fnN2 ^dvdl ]6Q^` -> V-grease !w
oBULpqmsbh+nnxtU7v1Iqj9RSLvwVgGau5ZHTN0daUOqcMLOHJ1L4FNUqLS8Gq8s
--- iHDyRW0hc6S1eq54cBN1MrDJEKzVKl9PEMtw+v1kIgI yABHEWs+qsE6mfRikZEkVfVxRhHT/sfBuEDAmE7Y+W273SA
ŰCĆ®Ť_;hÁ0‡•@”.Bđdđˇ"żű<C5BC>bt}S'V F•3Ďt --- XeiNeiAn+Szcr8/NGWxhBJ7HUU5lWPdcKBo4+7/hTqY
モセ<EFBFBD>M<EFBFBD>#ミ澀lァ U43Bl /<2F><6i9Srマ88<38>

View File

@ -1,23 +1,23 @@
age-encryption.org/v1 age-encryption.org/v1
-> ssh-ed25519 neExcQ eRTtVIiKoO9AZQ9yRD4q9T/lVGSbdfS6ZgA51Ml6qXc -> ssh-ed25519 neExcQ QSnzAUi67z3/qQsAHp9fPxbuFDv6aZCG1z7tYlTCcBI
w4f14e0CznYvbSUV9wH9WE4we2ZaThM1PwFrcG+6HkE Yqcvkenx+0FsPJaKbIL3kMrXhelekH5PndA8QUVofR4
-> ssh-rsa VtjGpQ -> ssh-rsa VtjGpQ
mZxOedvPF5L7aw7JjqAAUNfvjcH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XVEXJ0J2fzAMPwK1/fXFGezuIE+J4ck0mlPAGKdsqEK2I1PmzhG91/2k9pVV
m/Tvy2GUsijPKf0aslQbythORklVbd8oCdAEriVytTvMBgVVFILELZgfkC1Xshus 6QtUQ5weOC4lppaB72ClYnWjslPlnkmLO2y5QlHQGRPIpKPrl8BEa/e1QssPuvoH
fOshVaW6SzzjFo05bMag+Jy0xvssNsAtYXASNpppU1Y vMkhjERtrcolB41YPmTQ5yAARbDUEXfX4DegCNAGBVY
-> piv-p256 grR75w AplHuSHuZrF5Css3ni2ERR1BzgwXyRJvx6IYTfGlyqwN -> piv-p256 grR75w AnIgXEWvwFlTTBSbhr6JgitRNbxbD8KgVY3pIECu/OV/
cSdgdziCAqF0g+md3SccEYdXr2ToWjkgFsgELD1+9ok su+kmQmrHfE6oDDLb66mSqyhOfdaQ9sdCFCMQN+PT/Y
-> piv-p256 RQguQQ ArMD6UvO+SpTynXaYhu0/R3wv9vr+H9ItjJ6745tCldl -> piv-p256 RQguQQ AiQNSkHb9OUEjyzsixyr8bcL2BldWZqhBHArs8V4MW/m
V1+uCejnDgUA6Nul0Ep6p9ZfmxTWxPQI+FCAXpjvDoQ Q6M/F9EnaQvw7U37gw74WEWKz8zTum6ItzRkWYJibrs
-> )-grease -> 2#!RA#-grease ; <K &L M%?]C=k
GkM9VaOPQsWVdWXolVrlPay6CQ VDGyfy7y8i12A2hs8fSKKIs
--- 73KeTR/c+AeTO+DQo7gjDD0QIen4hYCcnPG6b3hlUQg --- tY/xBbBKiJ07CvmaqLL4twwTHLB3kDKk4aE5O/qdAQI
WťšuµeKpç”éŽ>•f©·ŐâĺÇMŇ iAŤZ”ŐŁ/ľ:…â·Ď«Axm2¶ Ňś)˛©S…B Òžj #˜IF:r<72>%ðt?­í¬és<{^¬³ã6Ì­ÃÚëØŒ ÈaQñeÏÜý}×´N”