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;
};
factorio = depot.ops.factorio;
home-manager = depot.ops.home-manager-ext.built;
};
x86_64-darwin = {
home-manager = depot.ops.home-manager-ext.built;

View file

@ -14,6 +14,7 @@ let
configs = {
base = nixos/lib/home-manager/common.nix;
client = nixos/lib/home-manager/client.nix;
porcorosso-wsl = nixos/lib/home-manager/porcorosso-wsl.nix;
};
configModules = lib.mapAttrs cfg configs;
@ -21,7 +22,13 @@ let
builtModules = lib.mapAttrs (name: value: (import ../third_party/home-manager/modules {
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;
}).activationPackage) configModules;
in

View file

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