nix/hosts/desktop/configuration.nix
2025-08-24 20:24:36 +02:00

40 lines
757 B
Nix

{
config,
pkgs,
inputs,
...
}: {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
../../modules/nixos/common.nix
];
# Bootloader.
boot.loader = {
efi.canTouchEfiVariables = true;
systemd-boot = {
enable = true;
configurationLimit = 5;
consoleMode = "max";
windows = {
"nvme0n1p1" = {
title = "Windows 11";
efiDeviceHandle = "FS1";
sortKey = "a_windows";
};
};
};
};
networking.hostName = "desktop"; # Define your hostname.
home-manager = {
extraSpecialArgs = {inherit inputs;};
users = {
"bruhng" = import ./home.nix;
};
};
system.stateVersion = "25.05"; # Do not channge
}