mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Disable photoprism
This commit is contained in:
parent
4e743403b0
commit
3fb3df6f59
1 changed files with 13 additions and 12 deletions
|
|
@ -1,12 +1,9 @@
|
||||||
{ config, lib, pkgs, inputs, system, ... }:
|
{ config, lib, pkgs, inputs, system, ... }:
|
||||||
let
|
let cfg = config.mods;
|
||||||
cfg = config.mods;
|
|
||||||
|
|
||||||
in {
|
in {
|
||||||
# Hardware
|
# Hardware
|
||||||
imports = [
|
imports = [ ./hardware-configuration.nix ];
|
||||||
./hardware-configuration.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
# System
|
# System
|
||||||
mods.user.name = "muon";
|
mods.user.name = "muon";
|
||||||
|
|
@ -30,8 +27,8 @@ in {
|
||||||
mods.server.sync.address = "100.85.27.29";
|
mods.server.sync.address = "100.85.27.29";
|
||||||
mods.server.sync.port = "8385";
|
mods.server.sync.port = "8385";
|
||||||
|
|
||||||
mods.server.media.enable = true;
|
mods.server.media.enable = false;
|
||||||
mods.server.photoprism.enable = true;
|
mods.server.photoprism.enable = false;
|
||||||
|
|
||||||
mods.server.wireguard.enable = true;
|
mods.server.wireguard.enable = true;
|
||||||
mods.server.headscale.enable = false;
|
mods.server.headscale.enable = false;
|
||||||
|
|
@ -40,10 +37,12 @@ in {
|
||||||
boot.loader.grub.enable = true;
|
boot.loader.grub.enable = true;
|
||||||
boot.loader.grub.device = "/dev/vda";
|
boot.loader.grub.device = "/dev/vda";
|
||||||
boot.initrd.checkJournalingFS = false;
|
boot.initrd.checkJournalingFS = false;
|
||||||
|
|
||||||
users.users.muon = {
|
users.users.muon = {
|
||||||
openssh.authorizedKeys.keys =
|
openssh.authorizedKeys.keys = [
|
||||||
[''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKEio+Y5wBVD1wILaH2R3wV10FvVjiqy/4gGBWHOITTB muon@muon'' ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKevYmkH7xvYoquBjnYZ7PJiVqf+GOh9fxAJBN6wZGBB gin4@hi.is'' ];
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKEio+Y5wBVD1wILaH2R3wV10FvVjiqy/4gGBWHOITTB muon@muon"
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKevYmkH7xvYoquBjnYZ7PJiVqf+GOh9fxAJBN6wZGBB gin4@hi.is"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# services.static-web-server = {
|
# services.static-web-server = {
|
||||||
|
|
@ -59,8 +58,10 @@ in {
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
users.users.root.openssh.authorizedKeys.keys =
|
users.users.root.openssh.authorizedKeys.keys = [
|
||||||
[''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKEio+Y5wBVD1wILaH2R3wV10FvVjiqy/4gGBWHOITTB muon@muon'' ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKevYmkH7xvYoquBjnYZ7PJiVqf+GOh9fxAJBN6wZGBB gin4@hi.is'' ];
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKEio+Y5wBVD1wILaH2R3wV10FvVjiqy/4gGBWHOITTB muon@muon"
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKevYmkH7xvYoquBjnYZ7PJiVqf+GOh9fxAJBN6wZGBB gin4@hi.is"
|
||||||
|
];
|
||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue