From c85db7a11d40e7a97a824e98fa257452f797d628 Mon Sep 17 00:00:00 2001 From: Nydragon Date: Wed, 23 Oct 2024 04:03:00 +0200 Subject: [PATCH] fix: locale issue --- hosts/nihilus/default.nix | 5 +++++ hosts/shan/default.nix | 9 +++++++++ modules/locale.nix | 9 +-------- modules/programs/ssh.nix | 9 +++++++++ 4 files changed, 24 insertions(+), 8 deletions(-) diff --git a/hosts/nihilus/default.nix b/hosts/nihilus/default.nix index c66f8b5..bf5cf2b 100644 --- a/hosts/nihilus/default.nix +++ b/hosts/nihilus/default.nix @@ -45,6 +45,11 @@ comment = "backup location for tv shows"; mode = "write"; } + { + name = "movies"; + comment = "backup location for movies shows"; + mode = "write"; + } ]; }; }; diff --git a/hosts/shan/default.nix b/hosts/shan/default.nix index cbe6ea6..35710e3 100644 --- a/hosts/shan/default.nix +++ b/hosts/shan/default.nix @@ -110,6 +110,15 @@ }; incremental.enable = true; } + { + sources = [ "/mnt/movies" ]; + target = { + location = "movies"; + type = "rsyncd"; + host = "nihilus"; + }; + incremental.enable = true; + } ]; }; }; diff --git a/modules/locale.nix b/modules/locale.nix index 89d8fe0..5f06549 100644 --- a/modules/locale.nix +++ b/modules/locale.nix @@ -1,13 +1,6 @@ -{ ... }: let locale = "en_GB.UTF-8"; in { - i18n = { - defaultLocale = locale; - extraLocaleSettings = { - LANGUAGE = locale; - LC_ALL = locale; - }; - }; + i18n.defaultLocale = locale; } diff --git a/modules/programs/ssh.nix b/modules/programs/ssh.nix index a174fc4..4b54905 100644 --- a/modules/programs/ssh.nix +++ b/modules/programs/ssh.nix @@ -1,7 +1,16 @@ +{ pubkeys, ... }: { programs.ssh = { knownHosts = { "github.com".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl"; + "[git.ccnlc.eu]:2222".publicKey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCYWZ3WHzPNxE2egZChPOIu7PVrW6jD18K3XXNenmmwp/RMQDfvaigipa0w0v4K2lOxBG3x7fC8vXgv5x4B8RivrIBhTHjuapC83H3m6Tdgk7gnEILesvM3UNPt0Us4zI9+LMRDnGIMHGkpXo/c7dMDRBUduCIoNemvYcUOccJBRxytvpxfSY2OGSW4QWC8AoyIPh4T71Lj6utOt2gOG/6aDHU9WTJtfpFEA01Q9djmKagREUzWiL5oTCS1vhwlvZZCUeM+UKJ5MkbIQYS36r36B+b0Jv3/ZV85LZhnJnjaDlajt8Z6tWljvtn74fVtpXIGJcyr/JHUt/cgczuZTmTSSgPpdmmrfUzysiznogymRHC8NjhEYSPQnU5J0xnEYo2gaSvcXh1VYcQ/BFqZfVz3uDjcOcWeoEIZwaO4Z3x/PXiDEB8eouA35HSQ0+YalDcCS64fS7zTmYmeHPQVUA3d/Rn3pXR/2ohhslucbfIdyhubqZKc2acwbZciJ6KBdgHRZp6dpowQk0kzVWXdT29g/IphMRtnd+k5IVRtvXdZW3pKr/ZFf1+9gRg1DegudyLLKZx7avIb/8bqfLvW7VULqyHZQdspKzr0n8ciYUQDI40lz2BZl8fAZjzZglms0KXndHVG0xEiovXOTju/aFbbstHX+0tg2C/wwc503ggAvQ=="; + "codeberg.org".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIVIC02vnjFyL+I4RHfvIGNtOgJMe769VTF1VR4EB3ZB"; + + "marr".publicKey = pubkeys.marr; + "nihilus".publicKey = pubkeys.nihilus; + "shan".publicKey = pubkeys.shan; + "raptus".publicKey = pubkeys.raptus; + "brontes".publicKey = pubkeys.brontes; }; }; }