chore: initial commit

This commit is contained in:
Glen Goodwin 2023-06-06 23:58:36 -04:00
commit cc4f3398ff
37 changed files with 2210 additions and 0 deletions

37
hosts/default.nix Normal file
View file

@ -0,0 +1,37 @@
{ lib, inputs, system, home-manager, user, hyprland, ... }:
{
thinkpad = lib.nixosSystem {
inherit system;
specialArgs = {
inherit user inputs hyprland system;
host = {
hostName = "thinkpad";
mainMonitor = "eDP-1";
# secondMonitor = "DP-1";
};
};
modules = [
./thinkpad
./configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit user; };
home-manager.users.${user} = {
imports = [ (import ./home.nix) ] ++ [ (import ./thinkpad/home.nix) ];
};
}
];
};
}