Files
nixos/hosts/nixbook/default.nix
T

33 lines
815 B
Nix

{ lib, config, pkgs, ... }:
let
hyprLib = import ../../lib/hypr.nix { inherit lib; };
in
{
imports = [
./hardware-configuration.nix
../../modules
./wireguard.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")
];
services.power-profiles-daemon.enable = true;
hardware.bluetooth.powerOnBoot = false;
users.users.djai.packages = with pkgs; [
steam
];
services.xserver.videoDrivers = [ "intel" ];
}