NixOS on WSL updates
This commit is contained in:
+13
-5
@@ -1,10 +1,18 @@
|
||||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; ( if ( lib.hasSuffix "-darwin" pkgs.system) then
|
||||
[] else
|
||||
[
|
||||
let
|
||||
darwinPkgs = [];
|
||||
x86Pkgs = with pkgs; [
|
||||
element-desktop
|
||||
slack
|
||||
]);
|
||||
];
|
||||
archPkgs = with pkgs; [
|
||||
element-desktop
|
||||
];
|
||||
in {
|
||||
home.packages = ( if ( pkgs.stdenv.hostPlatform.isDarwin ) then darwinPkgs else
|
||||
( if ( lib.hasPrefix "aarch64" pkgs.system ) then archPkgs else
|
||||
( if ( lib.hasPrefix "x86_64" pkgs.system ) then x86Pkgs else [] )
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user