nix/hosts/desktop/default.nix

33 lines
681 B
Nix
Raw Normal View History

2024-08-08 15:26:04 +02:00
{ inputs, lib, pkgs, ... }:
2024-06-05 20:52:52 +02:00
{
2024-08-03 00:01:29 +02:00
programs.steam.enable = true;
2024-08-08 15:26:04 +02:00
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
];
environment.systemPackages = with pkgs; [
prismlauncher
mangohud
lutris
];
2024-07-04 12:57:40 +02:00
networking.hostName = "desktop";
2024-06-05 20:52:52 +02:00
networking.networkmanager.enable = true;
2024-08-08 15:26:04 +02:00
services.hardware.openrgb.enable = true;
2024-07-20 20:47:33 +02:00
boot.loader = {
2024-08-05 19:42:24 +02:00
timeout = 0;
efi.canTouchEfiVariables = false;
grub = {
2024-07-20 20:47:33 +02:00
efiSupport = true;
efiInstallAsRemovable = true;
device = "nodev";
};
2024-08-05 19:42:24 +02:00
};
2024-07-20 20:47:33 +02:00
2024-06-05 20:52:52 +02:00
imports = [
../../modules
./hardware.nix
inputs.home-manager.nixosModules.default
];
}