Files
nixos/hosts/nixbook/default.nix
T
2026-10-07 12:42:03 +02:00

33 lines
801 B
Nix

{ lib, config, pkgs, ... }:
let
hyprLib = import ../../lib/hypr.nix { inherit lib; };
in
{
imports = [
./hardware-configuration.nix
../../modules
./wireguard.nix
./cpufreq.nix
./kanshi.nix
];
networking.hostName = "nixbook";
system.stateVersion = "26.05";
boot.initrd.luks.devices."luks-082cc474-c00a-46c5-b140-4b7ccc2e6958".device =
"/dev/disk/by-uuid/082cc474-c00a-46c5-b140-4b7ccc2e6958";
home-manager.users."djai".wayland.windowManager.hyprland.settings.bind = [
(hyprLib.bind "XF86TouchpadToggle" (hyprLib.exec "~/.config/hypr/scripts/toggle_touchpad.sh") "Toggle touchpad using XF86 keys")
];
hardware.bluetooth.powerOnBoot = false;
users.users.djai.packages = with pkgs; [
steam
];
services.xserver.videoDrivers = [ "intel" ];
}