refactor: additional cleanup of flatpaks and ssh access
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -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 ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user