63 lines
1.5 KiB
Nix
63 lines
1.5 KiB
Nix
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
{
|
|
imports =
|
|
[ (modulesPath + "/profiles/qemu-guest.nix")
|
|
];
|
|
|
|
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "ahci" "sd_mod" "sr_mod" ];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.kernelModules = [ ];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
fileSystems."/" =
|
|
{ device = "/dev/disk/by-uuid/16a8c885-a0a5-4d22-8d59-21d29bdca98d";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
boot.loader.grub.enable = true;
|
|
boot.loader.grub.device = "/dev/sda";
|
|
|
|
time.timeZone = "America/Chicago";
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
services.openssh.enable = true;
|
|
networking.firewall.enable = false;
|
|
|
|
networking = {
|
|
hostName = "jade";
|
|
search = ["wolfgirl.systems"];
|
|
nameservers = [ "9.9.9.10" "149.112.112.10" "2620:fe::10" "2620:fe::fe:10"];
|
|
dhcpcd.enable = false;
|
|
interfaces.ens18.ipv4.addresses = [{
|
|
address = "23.143.82.34";
|
|
prefixLength = 24;
|
|
}];
|
|
interfaces.ens18.ipv6.addresses = [{
|
|
address = "2602:fc26:12:1::35";
|
|
prefixLength = 48;
|
|
}];
|
|
defaultGateway = {
|
|
address = "23.143.82.1";
|
|
interface = "ens18";
|
|
};
|
|
defaultGateway6 = {
|
|
address = "2602:fc26:12::1";
|
|
interface = "ens18";
|
|
};
|
|
};
|
|
|
|
environment.etc."info" = {
|
|
mode = "0644";
|
|
text = builtins.readFile ./info/jude;
|
|
};
|
|
|
|
swapDevices = [ {
|
|
device = "/swapfile";
|
|
size = 4*1024;
|
|
randomEncryption.enable = true;
|
|
}];
|
|
|
|
system.stateVersion = "24.05";
|
|
}
|