porcorosso-wsl: init

This commit is contained in:
Luke Granger-Brown 2022-02-27 19:32:48 +00:00
parent 871149a62e
commit df2c10ed4e
3 changed files with 13 additions and 1 deletions

View file

@ -29,6 +29,7 @@ let
systemPathJSON = depot.ops.nixos.systemPathJSON; systemPathJSON = depot.ops.nixos.systemPathJSON;
}; };
factorio = depot.ops.factorio; factorio = depot.ops.factorio;
home-manager = depot.ops.home-manager-ext.built;
}; };
x86_64-darwin = { x86_64-darwin = {
home-manager = depot.ops.home-manager-ext.built; home-manager = depot.ops.home-manager-ext.built;

View file

@ -14,6 +14,7 @@ let
configs = { configs = {
base = nixos/lib/home-manager/common.nix; base = nixos/lib/home-manager/common.nix;
client = nixos/lib/home-manager/client.nix; client = nixos/lib/home-manager/client.nix;
porcorosso-wsl = nixos/lib/home-manager/porcorosso-wsl.nix;
}; };
configModules = lib.mapAttrs cfg configs; configModules = lib.mapAttrs cfg configs;
@ -21,7 +22,13 @@ let
builtModules = lib.mapAttrs (name: value: (import ../third_party/home-manager/modules { builtModules = lib.mapAttrs (name: value: (import ../third_party/home-manager/modules {
inherit pkgs; inherit pkgs;
configuration = value; configuration = {
imports = [ value ];
config.nixpkgs.config = pkgs.config;
config.home.sessionVariablesExtra = ''
export PATH="$HOME/.nix-profile/bin''${PATH:+:}$PATH"
'';
};
check = true; check = true;
}).activationPackage) configModules; }).activationPackage) configModules;
in in

View file

@ -0,0 +1,4 @@
{ pkgs, depot, lib, config, ... }:
{
imports = [ ./graphical-client-wayland.nix ];
}