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;
|
||||
port = 43235;
|
||||
hostKeys = [
|
||||
age.secrets."${initrdHostKey}"
|
||||
config.age.secrets."${initrdHostKey}".path
|
||||
];
|
||||
authorizedKeys = with lib;
|
||||
concatLists (mapAttrsToList
|
||||
|
@ -28,7 +28,7 @@ in
|
|||
};
|
||||
|
||||
age.secrets."${initrdHostKey}" = {
|
||||
file = "${secretsPath}/${initrdHostKey}";
|
||||
file = "${secretsPath}/${initrdHostKey}.age";
|
||||
mode = "600";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -15,7 +15,6 @@ with lib; {
|
|||
dadada.admin.enable = true;
|
||||
dadada.networking.localResolver.enable = true;
|
||||
|
||||
environment.noXlibs = mkDefault true;
|
||||
documentation.enable = mkDefault false;
|
||||
documentation.nixos.enable = mkDefault false;
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ in
|
|||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../modules/profiles/cloud.nix
|
||||
];
|
||||
|
||||
networking.hostName = hostName;
|
||||
|
@ -50,7 +51,10 @@ in
|
|||
};
|
||||
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.ens3.useDHCP = true;
|
||||
networking.interfaces.ens3 = {
|
||||
useDHCP = true;
|
||||
ipv4.addresses = [{ address = "49.12.3.98"; prefixLength = 32; }];
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
|
@ -83,14 +87,6 @@ in
|
|||
interface = "ens3";
|
||||
};
|
||||
|
||||
#boot.initrd.network.ssh = {
|
||||
# enable = true;
|
||||
# port = 22;
|
||||
# authorizedKeys = "${keys}/dadada.pub";
|
||||
# hostKeys = [
|
||||
# ];
|
||||
#};
|
||||
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/var/swapfile";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue