refactor: additional cleanup of flatpaks and ssh access

This commit is contained in:
2026-10-23 17:02:44 -04:00
parent 2c83e2c3a7
commit 21dbf8d779
6 changed files with 16 additions and 11 deletions
-8
View File
@@ -9,14 +9,6 @@
}; };
remotes = lib.mkOptionDefault [ remotes = lib.mkOptionDefault [
{
name = "flathub";
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
}
{
name = "flathub-beta";
location = "https://dl.flathub.org/beta-repo/flathub-beta.flatpakrepo";
}
{ {
name = "flatpark"; name = "flatpark";
location = "https://dl.flatpark.org/flatpark.flatpakrepo"; location = "https://dl.flatpark.org/flatpark.flatpakrepo";
+1
View File
@@ -8,6 +8,7 @@
uid = 1000; uid = 1000;
description = "Frank LoTurco"; description = "Frank LoTurco";
hashedPasswordFile = config.sops.secrets.password_hash.path; hashedPasswordFile = config.sops.secrets.password_hash.path;
openssh.authorizedKeys.keyFiles = [ ../keys/personal_ssh_key_ed25519.pub ];
extraGroups = [ extraGroups = [
"wheel" "wheel"
+7 -1
View File
@@ -108,7 +108,13 @@
alsa.support32Bit = lib.mkForce false; alsa.support32Bit = lib.mkForce false;
}; };
openssh.enable = true; openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
affinity-thumbnailer.enable = true; affinity-thumbnailer.enable = true;
}; };
+7 -1
View File
@@ -19,7 +19,13 @@
programs.bash.enable = true; programs.bash.enable = true;
services = { services = {
openssh.enable = true; openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
resolved.enable = false; resolved.enable = false;
}; };
+1 -1
View File
@@ -37,7 +37,7 @@ in
isSystemUser = true; isSystemUser = true;
group = "remotebuild"; group = "remotebuild";
shell = pkgs.bashInteractive; shell = pkgs.bashInteractive;
openssh.authorizedKeys.keyFiles = [ ./keys/personal_ssh_key_ed25519.pub ]; openssh.authorizedKeys.keyFiles = [ ../../keys/personal_ssh_key_ed25519.pub ];
}; };
}; };