disable noXlibs

Causes recompilation of many things...
This commit is contained in:
Tim Schubert 2023-02-04 18:00:29 +01:00
parent 9c27dbc6c3
commit 87d883664f
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
3 changed files with 7 additions and 12 deletions

View file

@ -11,7 +11,7 @@ in
enable = true; enable = true;
port = 43235; port = 43235;
hostKeys = [ hostKeys = [
age.secrets."${initrdHostKey}" config.age.secrets."${initrdHostKey}".path
]; ];
authorizedKeys = with lib; authorizedKeys = with lib;
concatLists (mapAttrsToList concatLists (mapAttrsToList
@ -28,7 +28,7 @@ in
}; };
age.secrets."${initrdHostKey}" = { age.secrets."${initrdHostKey}" = {
file = "${secretsPath}/${initrdHostKey}"; file = "${secretsPath}/${initrdHostKey}.age";
mode = "600"; mode = "600";
}; };
} }

View file

@ -15,7 +15,6 @@ with lib; {
dadada.admin.enable = true; dadada.admin.enable = true;
dadada.networking.localResolver.enable = true; dadada.networking.localResolver.enable = true;
environment.noXlibs = mkDefault true;
documentation.enable = mkDefault false; documentation.enable = mkDefault false;
documentation.nixos.enable = mkDefault false; documentation.nixos.enable = mkDefault false;

View file

@ -9,6 +9,7 @@ in
{ {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../modules/profiles/cloud.nix
]; ];
networking.hostName = hostName; networking.hostName = hostName;
@ -50,7 +51,10 @@ in
}; };
networking.useDHCP = false; networking.useDHCP = false;
networking.interfaces.ens3.useDHCP = true; networking.interfaces.ens3 = {
useDHCP = true;
ipv4.addresses = [{ address = "49.12.3.98"; prefixLength = 32; }];
};
networking.firewall = { networking.firewall = {
enable = true; enable = true;
@ -83,14 +87,6 @@ in
interface = "ens3"; interface = "ens3";
}; };
#boot.initrd.network.ssh = {
# enable = true;
# port = 22;
# authorizedKeys = "${keys}/dadada.pub";
# hostKeys = [
# ];
#};
swapDevices = [ swapDevices = [
{ {
device = "/var/swapfile"; device = "/var/swapfile";