Changes to nutmeg and flake.nix

This commit is contained in:
2021-11-19 10:26:21 -08:00
parent c2b16c0342
commit 08b2da1b6f
8 changed files with 137 additions and 93 deletions
+12 -4
View File
@@ -272,11 +272,19 @@ in {
};
interfaces.eno2 = {
ipv4.addresses = [{
address = "208.81.4.82";
prefixLength = 29;
}];
ipv4.addresses = [
{
address = "208.81.4.82";
prefixLength = 29;
}
{
address = "208.81.1.141";
prefixLength = 32;
}
];
};
firewall.enable = false;
};
services = {
+12 -14
View File
@@ -1,21 +1,19 @@
{ config, lib, pkgs, ... }:
{
config = {
fudo.slynk.enable = true;
fudo.slynk.enable = true;
networking = {
interfaces = {
extif0 = { useDHCP = true; };
};
};
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-chinese-addons
fcitx5-rime
];
networking = {
interfaces = {
extif0 = { useDHCP = true; };
};
};
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-chinese-addons
fcitx5-rime
];
};
}
+2 -2
View File
@@ -2,12 +2,12 @@
with lib;
let
syslib = pkgs.callPackage ../lib/hosts.nix {};
syslib = pkgs.callPackage ../lib/system.nix {};
in {
config.fudo.hosts = let
build-seed = config.instance.build-seed;
base-config = syslib.base-host-config ./hosts;
base-config = syslib.hosts ./hosts;
in mapAttrs (hostname: base-config:
base-config // {
backplane-password-file =
+1 -1
View File
@@ -3,7 +3,7 @@
enable-gui = false;
rp = "niten";
admin-email = "niten@fudo.org";
domain = "sea.fudo.org";
domain = "mobile.fudo.org";
site = "mobile";
profile = "laptop";
arch = "x86_64-linux";
+1 -3
View File
@@ -4,7 +4,5 @@ with lib;
{
imports = [ ./common-ui.nix ];
config = {
networking.networkmanager.enable = mkForce false;
};
networking.networkmanager.enable = mkForce false;
}