chore: initial commit
This commit is contained in:
commit
cc4f3398ff
37 changed files with 2210 additions and 0 deletions
37
hosts/default.nix
Normal file
37
hosts/default.nix
Normal 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) ];
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue