From 0658c5d898d6267e23d28f60d2c32edcf85d5c06 Mon Sep 17 00:00:00 2001 From: andromeda Date: Fri, 9 Jan 2026 23:23:07 +0100 Subject: modularise lenovo? --- machines.nix | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) (limited to 'machines.nix') diff --git a/machines.nix b/machines.nix index d79d693..be8023e 100644 --- a/machines.nix +++ b/machines.nix @@ -2,11 +2,33 @@ lenovo = { hostname = "lenovo"; system = "x86_64-linux"; - users = [ - "andromeda" - "mtgmonkey" - ]; + users = ["andromeda"]; modules = [ + # impermanence + ./modules/nixos/impermanence.nix + + # hardware configuration + # includes `system.stateVersion` + ./machines/lenovo.nix + + # boot process + # systemd-boot + ./modules/nixos/boot/lenovo.nix + + # networking + ./modules/nixos/laptop.nix + + # boilerplate settings + ./modules/nixos/common.nix + + # ly display manager + ./modules/nixos/ly.nix + + # sway window manager + ./modules/nixos/sway.nix + + # apps + ./modules/nixos/steam.nix ]; }; "109-199-104-83" = { @@ -14,6 +36,9 @@ system = "x86_64-linux"; users = []; modules = [ + # impermanence + ./modules/nixos/impermanence.nix + # hardware configuration # verbatim as `nixos-generate-config` AND `system.stateVersion` ./machines/109-199-104-83.nix -- cgit v1.3