nix/hosts/desktop/configuration.nix

65 lines
1.2 KiB
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.
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
obs-vaapi
];
};
hardware.opengl = {
enable = true;
};
environment.systemPackages = with pkgs; [
kdePackages.kdenlive
mesa
libva
libva-utils
libva-vdpau-driver
prismlauncher
postman
obsidian
];
home-manager = {
extraSpecialArgs = {
inherit inputs pkgs;
myOptions = config.myOptions;
};
users."bruhng" = import ./home.nix;
};
system.stateVersion = "25.05"; # Do not channge
}