switch laptop config

This commit is contained in:
ParkerTenBroeck 2026-05-23 23:30:27 -04:00
parent 079b1eb5d6
commit 3a429b7fe1
10 changed files with 118 additions and 14 deletions

View file

@ -1,4 +1,4 @@
{
{ pkgs, ...}: {
imports = [
./common.nix
../modules/networking.nix
@ -9,12 +9,58 @@
../modules/packages.nix
../modules/hyprland
../modules/tex.nix
../modules/virt.nix
../modules/arduino.nix
../../perf_mode/perf_mode.nix
];
nixpkgs.config.allowUnfree = true;
networking.hostName = "laptop";
system.stateVersion = "23.11";
services.logind.settings.Login.HandlePowerKey = "suspend";
# stupid ISO keyboards
console.useXkbConfig = true;
services.xserver.xkb = {
variant = "";
layout = "us-custom";
extraLayouts.us-custom = {
description = "My custom US layout";
languages = [ "eng" ];
symbolsFile = pkgs.writeText "xkb-layout" ''
xkb_symbols "us-custom" {
include "us(basic)"
include "level3(ralt_switch)"
key <LSGT> { [ Shift_L ] };
};
'';
};
};
home-manager.users.may.home.packages = with pkgs; [
intel-gpu-tools
obsidian
chromium
libreoffice
];
networking.firewall = {
allowedTCPPorts = [
#web
8000
8080
42069
];
allowedUDPPorts = [
#spotify google cast
5353
];
};
home-manager.users.may.home.stateVersion = "25.11";
}