add thinkpad

This commit is contained in:
2025-03-18 12:23:11 -04:00
parent 3aece1b9fb
commit 16a0c541b1
3 changed files with 63 additions and 60 deletions

View File

@@ -11,23 +11,34 @@
# Include the results of the hardware scan.
./hardware-configuration.nix
inputs.home-manager.nixosModules.default
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x220
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-t480
../../modules/nixos/bootloader.nix
../../modules/nixos/user.nix
../../modules/nixos/i3.nix
../../modules/nixos/ssh.nix
../../modules/nixos/bluetooth.nix
../../modules/nixos/hyprland.nix
../../modules/nixos/nm.nix
../../modules/nixos/sound.nix
../../modules/nixos/steam.nix
../../modules/nixos/env.nix
../../modules/nixos/1password.nix
../../modules/nixos/docker.nix
];
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
boot.loader.grub.useOSProber = true;
networking.hostName = "thinkpad";
nix.settings = {
trusted-users = ["mthomson"];
substituters = [
"https://cache.nixos.org"
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
time.timeZone = "America/Toronto";
i18n.defaultLocale = "en_CA.UTF-8";
@@ -40,6 +51,7 @@
wget
git
curl
lsof
];
home-manager = {