homeACE
This commit is contained in:
4
system-modules/boot.nix
Normal file → Executable file
4
system-modules/boot.nix
Normal file → Executable 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
0
system-modules/davmail.nix
Normal file → Executable file
0
system-modules/dm.nix
Normal file → Executable file
0
system-modules/dm.nix
Normal file → Executable file
0
system-modules/docker.nix
Normal file → Executable file
0
system-modules/docker.nix
Normal file → Executable file
0
system-modules/fuse.nix
Normal file → Executable file
0
system-modules/fuse.nix
Normal file → Executable file
0
system-modules/hardware-configuration.nix
Normal file → Executable file
0
system-modules/hardware-configuration.nix
Normal file → Executable file
0
system-modules/health_reminder.nix
Normal file → Executable file
0
system-modules/health_reminder.nix
Normal file → Executable file
0
system-modules/hsmw.nix
Normal file → Executable file
0
system-modules/hsmw.nix
Normal file → Executable file
0
system-modules/networking.nix
Normal file → Executable file
0
system-modules/networking.nix
Normal file → Executable file
0
system-modules/nvidia.nix
Normal file → Executable file
0
system-modules/nvidia.nix
Normal file → Executable file
20
system-modules/nx2site.nix
Executable file
20
system-modules/nx2site.nix
Executable file
@@ -0,0 +1,20 @@
|
||||
{ config, pkgs, lib, user, host, ... }:
|
||||
{
|
||||
imports = if host == "NxACE" then [
|
||||
|
||||
] 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;
|
||||
# };
|
||||
# };
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
0
system-modules/ollama.nix
Normal file → Executable file
0
system-modules/ollama.nix
Normal file → Executable file
0
system-modules/sound.nix
Normal file → Executable file
0
system-modules/sound.nix
Normal file → Executable file
12
system-modules/sshd.nix
Normal file
12
system-modules/sshd.nix
Normal 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
3
system-modules/users.nix
Normal file → Executable 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
0
system-modules/virtualisation.nix
Normal file → Executable file
Reference in New Issue
Block a user