feat: add devenv

This commit is contained in:
Glen Goodwin 2023-06-07 01:03:26 -04:00
parent cc4f3398ff
commit 327db2d36c
5 changed files with 199 additions and 6 deletions

View file

@ -1,11 +1,11 @@
{ lib, inputs, system, home-manager, user, hyprland, ... }:
{ lib, inputs, system, home-manager, user, hyprland, devenv, ... }:
{
thinkpad = lib.nixosSystem {
inherit system;
specialArgs = {
inherit user inputs hyprland system;
inherit user inputs hyprland system devenv;
host = {
hostName = "thinkpad";
mainMonitor = "eDP-1";
@ -20,7 +20,7 @@
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit user; };
home-manager.extraSpecialArgs = { inherit user devenv; };
home-manager.users.${user} = {
imports = [ (import ./home.nix) ] ++ [ (import ./thinkpad/home.nix) ];
};