summaryrefslogtreecommitdiff
path: root/machines.nix
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-01-09 23:23:07 +0100
committerandromeda <andromeda@lenovo>2026-01-09 23:23:07 +0100
commit0658c5d898d6267e23d28f60d2c32edcf85d5c06 (patch)
treedeb20f9303cacb066e4f5590442b0be08c59f226 /machines.nix
parent8b79f4e825718448780383d0e535d132d7b80561 (diff)
modularise lenovo?
Diffstat (limited to 'machines.nix')
-rw-r--r--machines.nix33
1 files changed, 29 insertions, 4 deletions
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