seprate hosts in submodules and started adding desktop pc configuration
This commit is contained in:
25
hosts/laptop.nix
Normal file
25
hosts/laptop.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ config, lib, inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
modules/game.nix
|
||||
modules/nvidia.nix
|
||||
];
|
||||
networking.hostName = "patate-douce";
|
||||
networking.wireless.enable = true;
|
||||
networking.networkmanager.enable = false;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
acpi
|
||||
tlp
|
||||
];
|
||||
|
||||
hardware.nvidia.prime.offload = {
|
||||
enable = true;
|
||||
enableOffloadCmd = true;
|
||||
};
|
||||
|
||||
services.libinput.enable = true;
|
||||
services.libinput.touchpad.clickMethod = "clickfinger";
|
||||
services.libinput.touchpad.tapping = false;
|
||||
}
|
Reference in New Issue
Block a user