summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorJakub Stachurski <jakub@wilkuu.xyz>2026-02-11 15:35:44 +0100
committerGitHub <noreply@github.com>2026-02-11 15:35:44 +0100
commit04707c728441000d64d3d750916354310ff2d2ab (patch)
treea6855656f35bc4c351e215827b58a83b4f2a99ec /users
parent2f65e7f40e97f6ccb3d164169698033ce1692a76 (diff)
Omega-Relay host replacement for Ubuntu VM on Feox
* Add omega-relay prototype host * Add omega-relay prototype host * Inital commit for working omega-relay host. This commit includes: - Mysql module from umbriel - Disko configuration for the Ferox VM - Freshrss module - Stalwart module - Vaultwarden module - Wakapi module - Uptime Kuma module - Support for using mysql socket - Server user that does not depend on full home-manager preset. - ACME for wilkuu.xyz domains, including all the services. * Nix fmt * Fixes in secrets and services. Mostly fixes connection to mysql and the unix-socket auth for it. * Little fixes and update * Format and do fixes * Update secrets and keys for omega-relay * Apply changes from messing around and making things work
Diffstat (limited to 'users')
-rw-r--r--users/user-common.nix2
-rw-r--r--users/wilkuu-server.nix53
2 files changed, 54 insertions, 1 deletions
diff --git a/users/user-common.nix b/users/user-common.nix
index b021a12..28bf606 100644
--- a/users/user-common.nix
+++ b/users/user-common.nix
@@ -7,7 +7,7 @@
# Pass host config to HM (Common config)
# TODO: Move this somewhere else.
home-manager = {
- #useUserPackages = true;
+ # useUserPackages = true;
useGlobalPkgs = true;
backupFileExtension = "bak";
diff --git a/users/wilkuu-server.nix b/users/wilkuu-server.nix
new file mode 100644
index 0000000..b982ddf
--- /dev/null
+++ b/users/wilkuu-server.nix
@@ -0,0 +1,53 @@
+{
+ pkgs,
+ lib,
+ ...
+}:
+{
+ imports = [ ./user-common.nix ];
+ programs.zsh.enable = true;
+ users.users.wilkuu = {
+ shell = pkgs.zsh;
+ openssh.authorizedKeys.keyFiles = [ ../certs/wilkuu_rsa.pub ../certs/pi_ed25519.pub];
+ isNormalUser = true;
+ initialPassword = "PleazeChangeThis123";
+ extraGroups = [
+ "wheel"
+ "adbusers"
+ "networkmanager"
+ "input"
+ "docker"
+ "adbusers"
+ "libvirtd"
+ "libvirt"
+ ]; # Enable ‘sudo’ for the user.
+ packages = with pkgs; [
+ home-manager
+ ];
+ };
+
+ home-manager.users.wilkuu = {
+ imports = [ ../home-modules ];
+
+ homeapps.presets = lib.genAttrs [ "base" "utils" "browser" ] (_: {
+ enable = true;
+ });
+ # homeapps.vnc = true;
+
+ # services.wayvnc = {
+ # enable = true;
+ # autoStart = false;
+ # settings = {
+ # # Todo, bind to vpn and LAN explicitly somehow
+ # address = "0.0.0.0";
+ # port = 5900;
+ # };
+ # };
+
+ home.username = "wilkuu";
+ home.homeDirectory = "/home/wilkuu";
+ home.stateVersion = "24.11";
+ programs.home-manager.enable = true;
+ };
+
+}