spotlights-macbook-air: Install Visual Studio Code via Nix
This commit is contained in:
parent
b7e5febdf2
commit
2976fdd1d7
2 changed files with 9 additions and 3 deletions
|
@ -48,6 +48,7 @@
|
|||
tmux
|
||||
unar
|
||||
virt-manager
|
||||
vscode
|
||||
watch
|
||||
wget
|
||||
xz
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, system, ... }: {
|
||||
{ lib, pkgs, system, ... }: {
|
||||
environment = {
|
||||
# We'll use Vim globally.
|
||||
systemPackages = [
|
||||
|
@ -52,8 +52,13 @@
|
|||
system.stateVersion = 4;
|
||||
|
||||
nixpkgs = {
|
||||
# TODO(spotlightishere): Make this configurable beyond a singular device.
|
||||
hostPlatform = "aarch64-darwin";
|
||||
hostPlatform = lib.mkDefault "aarch64-darwin";
|
||||
|
||||
# Regretfully, we use some non-free packages.
|
||||
config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
# Visual Studio Code
|
||||
"vscode"
|
||||
];
|
||||
};
|
||||
|
||||
# Our singular user!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue