diff options
| author | andromeda <andromeda@lenovo> | 2026-01-09 23:23:07 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-01-09 23:23:07 +0100 |
| commit | 0658c5d898d6267e23d28f60d2c32edcf85d5c06 (patch) | |
| tree | deb20f9303cacb066e4f5590442b0be08c59f226 /flake.nix | |
| parent | 8b79f4e825718448780383d0e535d132d7b80561 (diff) | |
modularise lenovo?
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 16 |
1 files changed, 3 insertions, 13 deletions
@@ -67,6 +67,7 @@ impermanence.nixosModules.impermanence agenix.nixosModules.default nixos-mailserver.nixosModule + noshell.nixosModules.default phoenix.nixosModules.default nix-zulip'.nixosModules.zulip { @@ -76,18 +77,8 @@ nix-zulip'.overlays.default ]; } - ( - if machine.hostname != "109-199-104-83" - then - {config, ...}: { - imports = [ - ./machines/${machine.hostname}/configuration.nix - ]; - networking.domain = config.networking.hostName; # temporary fix - } - else {imports = machine.modules;} - ) - ]; + ] + ++ machine.modules; }; configurationWithHomeManager = machine: (configuration machine [ @@ -113,7 +104,6 @@ ) ); } - noshell.nixosModules.default ]); in { nixosConfigurations = |
