ma tsp.r: refactor

This commit is contained in:
makefu 2021-03-12 20:12:04 +01:00
parent b30e99dfb2
commit f20695084e
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 17 additions and 3 deletions

View File

@ -6,21 +6,26 @@
{
imports =
[ # Include the results of the hardware scan.
./hardware.nix
<stockholm/makefu>
<stockholm/makefu/2configs/nur.nix>
<stockholm/makefu/2configs/home-manager>
<stockholm/makefu/2configs/main-laptop.nix>
<stockholm/makefu/2configs/editor/neovim>
<stockholm/makefu/2configs/tools/core.nix>
# <stockholm/makefu/2configs/tools/all.nix>
<stockholm/makefu/2configs/fs/single-partition-ext4.nix>
# hardware specifics are in here
# imports tp-x2x0.nix
<stockholm/makefu/2configs/hw/tp-x230.nix>
<stockholm/makefu/2configs/hw/bluetooth.nix>
<stockholm/makefu/2configs/hw/network-manager.nix>
# <stockholm/makefu/2configs/rad1o.nix>
<stockholm/makefu/2configs/zsh-user.nix>
<stockholm/makefu/2configs/exim-retiolum.nix>
<stockholm/makefu/2configs/home-manager>
<stockholm/makefu/2configs/home-manager/desktop.nix>
<stockholm/makefu/2configs/home-manager/cli.nix>
<stockholm/makefu/2configs/tinc/retiolum.nix>
<stockholm/makefu/2configs/sshd-totp.nix>

View File

@ -0,0 +1,9 @@
{ lib, ... }:
{
imports = [
# laptop is an acer aspire, but close enough i'd say
<stockholm/makefu/2configs/hw/tp-x2x0.nix>
];
# the laptop only has the touchpad
services.xserver.synaptics.additionalOptions = lib.mkForce ''Option "TouchpadOff" "0"'';
}