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:
parent
bb2fa263a0
commit
480d398c93
|
@ -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 ===
|
||||
|
|
|
@ -83,9 +83,6 @@ in {
|
|||
pw-mail-schulverwalter = {
|
||||
inherit sopsFile owner mode;
|
||||
};
|
||||
sftp-key = {
|
||||
inherit sopsFile owner mode;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -38,9 +38,6 @@ in {
|
|||
inherit sopsFile owner mode;
|
||||
key = "restic-backup";
|
||||
};
|
||||
sftp-key = {
|
||||
inherit sopsFile owner mode;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINZDmBkN2YF6kygXwbyeYXlRop/rSD8aGqA8cAm7RKzP malte@helix-texta
|
|
@ -1 +0,0 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINejc/nHFr4ZFXuVaSLS3k822SIPSSKq+XWpkcGfPquC malte@helix-texta
|
|
@ -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 = {
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue