configuration/hosts/wrangler/system.nix
2023-08-10 15:07:51 -07:00

33 lines
707 B
Nix

{ ... }:
{
imports = [
../../common/system.nix
<nixos-hardware/lenovo/thinkpad/p50>
/etc/nixos/hardware-configuration.nix
./local/system.nix
];
# Host parameters
host = {
name = "wrangler";
local = ./local;
resources = ./resources;
};
# Hardware
nixpkgs.config.allowUnfree = true; # Required by <nixos-hardware/lenovo/thinkpad/p50>
services.fstrim.enable = true;
services.kmonad.keyboards.default.device = "/dev/input/by-path/platform-i8042-serio-0-event-kbd";
# Nix
system.stateVersion = "22.05"; # Permanent
# Mouse
services.input-remapper.enable = true;
# Networking
systemd.network.links = {
"10-wifi".linkConfig.Name = "wifi";
};
}