porcorosso-wsl: init
This commit is contained in:
parent
871149a62e
commit
df2c10ed4e
3 changed files with 13 additions and 1 deletions
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
4
ops/nixos/lib/home-manager/porcorosso-wsl.nix
Normal file
4
ops/nixos/lib/home-manager/porcorosso-wsl.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{ pkgs, depot, lib, config, ... }:
|
||||||
|
{
|
||||||
|
imports = [ ./graphical-client-wayland.nix ];
|
||||||
|
}
|
Loading…
Reference in a new issue