split config between laptop and pc

This commit is contained in:
lucy 2026-07-10 17:36:19 +02:00
commit 9e6394fb64
4 changed files with 39 additions and 1 deletions

View file

@ -42,6 +42,7 @@
{
nixosConfigurations.seele = nixpkgs.lib.nixosSystem {
modules = [
./configuration.nix
./nixvim/nixvim.nix
nix-easyroam.nixosModules.nix-easyroam
@ -56,6 +57,10 @@
}
({ lib, ... }: {
networking.hostName = lib.mkForce "seele";
imports = [
./hardware-configuration-laptop.nix
];
})
];
@ -78,6 +83,9 @@
lanzaboote.nixosModules.lanzaboote
({ pkgs, lib, ... }: {
imports = [
./hardware-configuration-desktop.nix
];
networking.hostName = lib.mkForce "nerv";
environment.systemPackages = [
# For debugging and troubleshooting Secure Boot.