disable noXlibs
Causes recompilation of many things...
This commit is contained in:
parent
9c27dbc6c3
commit
87d883664f
3 changed files with 7 additions and 12 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue