76 lines
1.5 KiB
Nix
76 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
../../modules/system.nix
|
|
../../modules/nix-settings.nix
|
|
../../modules/vpn.nix
|
|
../../modules/fonts.nix
|
|
../../modules/firewall.nix
|
|
../../modules/localisation.nix
|
|
../../modules/openssh.nix
|
|
../../modules/pipewire.nix
|
|
../../modules/services.nix
|
|
../../modules/regreet/regreet.nix
|
|
../../modules/plymouth.nix
|
|
../../modules/file_managers/spacefm.nix
|
|
../../modules/appimage.nix
|
|
../../modules/qemu.nix
|
|
../../modules/thunderbird.nix
|
|
../../modules/canon_eos_550d.nix
|
|
# Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
# Bootloader.
|
|
boot.loader = {
|
|
efi.canTouchEfiVariables = true;
|
|
systemd-boot.enable = true;
|
|
};
|
|
|
|
networking = {
|
|
hostName = "nix-desktop";
|
|
networkmanager.enable = false;
|
|
useNetworkd = true;
|
|
useDHCP = false;
|
|
|
|
interfaces.eno1 = {
|
|
ipv4.addresses = [
|
|
{
|
|
address = "192.168.2.40";
|
|
prefixLength = 24;
|
|
}
|
|
];
|
|
};
|
|
|
|
defaultGateway = {
|
|
address = "192.168.2.1";
|
|
interface = "eno1";
|
|
};
|
|
|
|
nameservers = [
|
|
"192.168.2.2"
|
|
"1.1.1.1"
|
|
"8.8.8.8"
|
|
];
|
|
|
|
wireless = {
|
|
enable = true;
|
|
userControlled.enable = false;
|
|
networks = {
|
|
"LANFRED".psk = "CooleJungsWG";
|
|
};
|
|
};
|
|
|
|
};
|
|
|
|
systemd.services.systemd-networkd-wait-online.enable = lib.mkForce false;
|
|
|
|
hardware.graphics.enable = true;
|
|
|
|
system.stateVersion = "25.11"; # Did you read the comment?
|
|
|
|
}
|