chore(users): drop sftp related things for marie/malte

Was only used for the remote printing service, which is also dropped with this commit.
This commit is contained in:
Malte Tammena 2023-11-18 11:18:29 +01:00
parent bb2fa263a0
commit 480d398c93
7 changed files with 0 additions and 53 deletions

View file

@ -336,17 +336,6 @@ in {
openFirewall = true;
};
users.users.sftp = {
description = "User used for all sftp stuff";
isNormalUser = true;
group = "sftp";
openssh.authorizedKeys.keyFiles = [
../secrets/users/malte/sftp-key.pub
../secrets/users/marie/sftp-key.pub
];
};
users.groups.sftp = {};
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
# === BACKUPS ===

View file

@ -83,9 +83,6 @@ in {
pw-mail-schulverwalter = {
inherit sopsFile owner mode;
};
sftp-key = {
inherit sopsFile owner mode;
};
};
};
}

View file

@ -38,9 +38,6 @@ in {
inherit sopsFile owner mode;
key = "restic-backup";
};
sftp-key = {
inherit sopsFile owner mode;
};
};
};
}

View file

@ -1 +0,0 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINZDmBkN2YF6kygXwbyeYXlRop/rSD8aGqA8cAm7RKzP malte@helix-texta

View file

@ -1 +0,0 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINejc/nHFr4ZFXuVaSLS3k822SIPSSKq+XWpkcGfPquC malte@helix-texta

View file

@ -189,24 +189,6 @@ in {
defaultCalendar = "Malte";
};
# TODO: Merge with Marie's part
systemd.user.mounts."home-malte-to\\x2dbe\\x2dprinted" = {
Unit = {
Description = "Directory that prints everything";
};
Install = {
WantedBy = ["default.target"];
};
Mount = {
What = "sftp@faunus-ater:/srv/to-be-printed";
Where = "/home/malte/to-be-printed";
Type = "fuse.sshfs";
Options = "IdentityFile=/run/secrets/sftp-key";
};
};
services.protonmailBridge.enable = true;
services.darkman = {
enable = true;
settings = {

View file

@ -73,22 +73,6 @@ in {
"org/gnome/desktop/background" = {picture-uri = "file://${bg}";};
};
# TODO: Merge with Malte's part
systemd.user.mounts."home-marie-to\\x2dbe\\x2dprinted" = {
Unit = {
Description = "Directory that prints everything";
};
Install = {
WantedBy = ["default.target"];
};
Mount = {
What = "sftp@faunus-ater:/srv/to-be-printed";
Where = "/home/marie/to-be-printed";
Type = "fuse.sshfs";
Options = "IdentityFile=/run/secrets/sftp-key";
};
};
home.stateVersion = "18.09";
};
}