From c21c6fdb0923fb332ea839915a4b7c21069b6cf1 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Fri, 28 Apr 2023 12:57:32 +0200 Subject: [PATCH] update mobi --- flake.nix | 3 ++- nixos/machines/mobi/configuration.nix | 9 ++++++--- nixos/machines/mobi/tinc.nix | 15 +++------------ 3 files changed, 11 insertions(+), 16 deletions(-) diff --git a/flake.nix b/flake.nix index 63ba7fd..8e6530c 100644 --- a/flake.nix +++ b/flake.nix @@ -291,7 +291,8 @@ }; mobi = { name, nodes, pkgs, ... }: { - deployment.targetHost = "${name}.private"; + #deployment.targetHost = "${name}.private"; + deployment.targetHost = "192.168.178.31"; deployment.buildOnTarget = false; deployment.tags = [ "desktop" "usb" "private" ]; imports = [ diff --git a/nixos/machines/mobi/configuration.nix b/nixos/machines/mobi/configuration.nix index 3602bbd..5f502bd 100644 --- a/nixos/machines/mobi/configuration.nix +++ b/nixos/machines/mobi/configuration.nix @@ -2,6 +2,7 @@ imports = [ + ../../components ../../system/desktop ./hardware-configuration.nix ./tinc.nix @@ -24,11 +25,13 @@ }; }; + components.gui.enable = true; + # fonts # ----- - programs.custom.urxvt.fontSize = 12; - programs.custom.xterm.fontSize = 12; - system.custom.fonts.dpi = 100; + programs.custom.urxvt.fontSize = 16; + programs.custom.urxvt.fontType = "vector"; + programs.custom.xterm.fontSize = 16; configuration.desktop = { width = 1366; diff --git a/nixos/machines/mobi/tinc.nix b/nixos/machines/mobi/tinc.nix index c1713c3..ed50994 100644 --- a/nixos/machines/mobi/tinc.nix +++ b/nixos/machines/mobi/tinc.nix @@ -1,14 +1,5 @@ -{ config, lib, pkgs, ... }: - -with lib; - +{ config, ... }: { - module.cluster.services.tinc = { - "private" = { - enable = true; - openPort = true; - connectTo = [ "robi" ]; - }; - }; - + tinc.private.enable = true; + tinc.private.ipv4 = "10.23.42.23"; }