current
1{
2 inputs,
3 config,
4 den,
5 ...
6}: let
7 inherit (den.lib) __findFile;
8in {
9 #############################################################
10 #
11 # Mobius - NixOS running on Topfell DeskOne T2
12 # My first homelab server, with Ryzen 7 H 255 + 16GB memory.
13 #
14 #############################################################
15 den.hosts.x86_64-linux.mobius = {
16 usage = "server";
17 pubkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMesHdI8FLpEPr6KG7t50+d+jKntmtAKvPT9amqdPaaz root@mobius";
18 hashedPasswordAged = ./hashed-password.age;
19 sshPorts = [21632];
20 authorizedKeys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFMKaGC2I3an4AJDeWzVx5vhm63+kxi6zJNdh7yEp6CK hpcesia@kevin"];
21 tailscaleIpv4 = "100.64.0.2";
22 tailscaleIpv6 = "fd7a:115c:a1e0::2";
23 users.hpcesia.classes = ["homeManager"];
24 instantiate = {modules}:
25 inputs.nixpkgs.lib.nixosSystem {
26 inherit modules;
27
28 # Fix vaultix error: attribute 'inputs' missing
29 # This is an anti-pattern of Dendritic Pattern
30 # I don't like this, but I don't see another way
31 specialArgs = {inherit (inputs) self;};
32 };
33 };
34
35 den.aspects.mobius.includes = [
36 # I can physically access Mobius,
37 # so I want a full featured console for emergency access.
38 <desktop/fonts>
39 <desktop/kmscon>
40 ];
41
42 den.aspects.mobius.provides.to-users.includes = [
43 <desktop/no-stylix> # Mobius is not desktop
44 ];
45}