From dbda697dc4830b973858f79e7057fe1a5922729c Mon Sep 17 00:00:00 2001 From: "Nathan P. Reiner" Date: Tue, 5 May 2026 23:22:45 +0000 Subject: add nixbook-pro --- hosts/nixbook-pro/default.nix | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 hosts/nixbook-pro/default.nix (limited to 'hosts/nixbook-pro/default.nix') diff --git a/hosts/nixbook-pro/default.nix b/hosts/nixbook-pro/default.nix new file mode 100644 index 0000000..475ff43 --- /dev/null +++ b/hosts/nixbook-pro/default.nix @@ -0,0 +1,38 @@ +# Edit this configuration file to define what should be installed on +# your system. Help is available in the configuration.nix(5) man page, on +# https://search.nixos.org/options and in the NixOS manual (`nixos-help`). + +{ config, lib, pkgs, ... }: + +{ + imports = [ + ./hardware.nix + ../../modules/hyprland/monitor.nix + ]; + + networking.hostName = "nixbook-pro"; + + boot.loader = { + efi.canTouchEfiVariables = true; + grub = { + enable = true; + device = "nodev"; + efiSupport = true; + configurationLimit = 10; + }; + }; + + hyprland.monitors = { + default = { + resolution = "preferred"; + position = "auto"; + scale = 1; + }; + }; + + webtray.instances = {}; + + system.stateVersion = "25.11"; # Did you read the comment? + +} + -- cgit v1.2.3-70-g09d2 From 4082a783bf418eca4a013d5194ed7c7d4257d255 Mon Sep 17 00:00:00 2001 From: "Nathan P. Reiner" Date: Wed, 6 May 2026 07:01:42 +0200 Subject: nixbook-pro: add configuration --- hosts/nixbook-pro/default.nix | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'hosts/nixbook-pro/default.nix') diff --git a/hosts/nixbook-pro/default.nix b/hosts/nixbook-pro/default.nix index 475ff43..ed59bf9 100644 --- a/hosts/nixbook-pro/default.nix +++ b/hosts/nixbook-pro/default.nix @@ -1,7 +1,3 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page, on -# https://search.nixos.org/options and in the NixOS manual (`nixos-help`). - { config, lib, pkgs, ... }: { @@ -10,7 +6,10 @@ ../../modules/hyprland/monitor.nix ]; - networking.hostName = "nixbook-pro"; + networking = { + hostName = "nixbook-pro"; + enableB43Firmware = true; + }; boot.loader = { efi.canTouchEfiVariables = true; @@ -23,11 +22,11 @@ }; hyprland.monitors = { - default = { - resolution = "preferred"; - position = "auto"; - scale = 1; - }; + default = { + resolution = "preferred"; + position = "auto"; + scale = 1; + }; }; webtray.instances = {}; -- cgit v1.2.3-70-g09d2