|
|
|
@ -120,6 +120,30 @@ in
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
t480 = lib.nixosSystem {
|
|
|
|
|
inherit system;
|
|
|
|
|
specialArgs = { inherit user; };
|
|
|
|
|
modules = configImports ++ [
|
|
|
|
|
./thinkpads
|
|
|
|
|
./desktop.nix
|
|
|
|
|
{
|
|
|
|
|
boot.loader.grub.gfxmodeEfi = "1920x1080";
|
|
|
|
|
networking.hostName = "t480";
|
|
|
|
|
}
|
|
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
|
home-manager = {
|
|
|
|
|
useUserPackages = true;
|
|
|
|
|
extraSpecialArgs = hmArgs;
|
|
|
|
|
users.${user} = {
|
|
|
|
|
imports = desktopHmImports ++ [
|
|
|
|
|
(import ./thinkpads/home.nix)
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
virtualbox = lib.nixosSystem {
|
|
|
|
|
inherit system;
|
|
|
|
|
specialArgs = { inherit user; };
|
|
|
|
|