t480: init

This commit is contained in:
Elnu 2024-09-22 18:38:25 -07:00
parent 1c504889a1
commit e0407a761b
3 changed files with 31 additions and 6 deletions

View file

@ -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; };