Merge branch 'master' of ssh://git.nx2.site:20022/nx2/dotfiles

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-05-07 16:54:57 +02:00
66 changed files with 33 additions and 19 deletions

4
system-modules/boot.nix Normal file → Executable file
View File

@@ -22,8 +22,8 @@
device = "nodev";
# useOSProber = true;
efiSupport = true;
theme = grub-theme-ascii-diana;
font = "${grub-theme-ascii-diana}/unicode.pf2";
#theme = grub-theme-ascii-diana;
#font = "${grub-theme-ascii-diana}/unicode.pf2";
fontSize = 50;
splashImage = null;

0
system-modules/davmail.nix Normal file → Executable file
View File

0
system-modules/dm.nix Normal file → Executable file
View File

0
system-modules/docker.nix Normal file → Executable file
View File

0
system-modules/fuse.nix Normal file → Executable file
View File

0
system-modules/hardware-configuration.nix Normal file → Executable file
View File

0
system-modules/health_reminder.nix Normal file → Executable file
View File

0
system-modules/hsmw.nix Normal file → Executable file
View File

0
system-modules/networking.nix Normal file → Executable file
View File

0
system-modules/nvidia.nix Normal file → Executable file
View File

View File

@@ -5,14 +5,16 @@
] else [];
config = lib.mkIf (host == "NxACE") {
security.acme = {
acceptTerms = true;
defaults.email = "acme@nx2.site";
certs."nx2.site" = {
dnsProvider = "namecheap";
environmentFile = ../secrets/nx2site/namecheap-creds.env;
renewalInterval = "*-*-02 00:05:00";
};
};
};
}
# security.acme = {
# acceptTerms = true;
# defaults.email = "acme@nx2.site";
# certs."nx2.site" = {
# dnsProvider = "namecheap";
# environmentFile = ../secrets/nx2site/namecheap-creds.env;
# };
# };
# services.nginx = {
# enable = true;
# };
};
}

0
system-modules/ollama.nix Normal file → Executable file
View File

0
system-modules/sound.nix Normal file → Executable file
View File

12
system-modules/sshd.nix Normal file
View File

@@ -0,0 +1,12 @@
{ config, pkgs, lib, secrets, ... }:
{
services.openssh = {
enable = true;
ports = secrets.nx2site.ssh.ports;
settings = {
PasswordAuthentication = false;
};
};
}

3
system-modules/users.nix Normal file → Executable file
View File

@@ -7,6 +7,9 @@
isNormalUser = true;
extraGroups = [ "networkmanager" "wheel" "audio" "video" "docker" "libvirtd" "uinput" ];
useDefaultShell = true;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHzEtnN/GrgXK7yz+0z1x6rKHhYYQhTOFQ6c6Faz79g2 Nx2-ed25519-ssh-key"
];
packages = with pkgs; []; # all in home.nix
};
users.users.tv = lib.mkIf (host == "NxACE") {

0
system-modules/virtualisation.nix Normal file → Executable file
View File