This commit is contained in:
Schrottkatze 2023-12-09 22:18:18 +01:00
parent f40587796a
commit abe555ca4c

View file

@ -1,7 +1,11 @@
{ pkgs, modulesPath, lib, ... }:
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
pkgs,
modulesPath,
lib,
...
}: {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
systemd.services."NetworkManager-wait-oline".enable = false;
@ -23,16 +27,19 @@
externalInterface = "enp1s0";
};
interfaces."enp1s0" = {
ipv6.addresses = [{
ipv6.addresses = [
{
address = "2a01:4f8:c17:c51f::";
prefixLength = 64;
}];
ipv4.addresses = [{
}
];
ipv4.addresses = [
{
address = "91.107.221.11";
prefixLength = 32;
}];
}
];
};
defaultGateway6 = {
address = "fe80::1";
@ -57,13 +64,18 @@
};
};
programs.mosh.enable = true;
services.openssh = {
enable = true;
settings.PermitRootLogin = "prohibit-password";
};
environment.systemPackages = with pkgs; [
vim wget neofetch btop
vim
wget
neofetch
btop
];
fileSystems."/" = {
@ -76,7 +88,9 @@
fsType = "vfat";
};
swapDevices = [ {
swapDevices = [
{
device = "/dev/sda2";
} ];
}
];
}