48 lines
946 B
Nix
48 lines
946 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
inputs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
# Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
../../modules/nixos/common.nix
|
|
../../modules/options.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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
myOptions.niri.enable = false;
|
|
|
|
networking.hostName = "desktop"; # Define your hostname.
|
|
environment.systemPackages = with pkgs; [
|
|
kdePackages.kdenlive
|
|
obs-studio
|
|
];
|
|
|
|
home-manager = {
|
|
extraSpecialArgs = {
|
|
inherit inputs pkgs;
|
|
myOptions = config.myOptions;
|
|
};
|
|
users."bruhng" = import ./home.nix;
|
|
};
|
|
|
|
system.stateVersion = "25.05"; # Do not channge
|
|
}
|