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
|
tmux
|
||||||
unar
|
unar
|
||||||
virt-manager
|
virt-manager
|
||||||
|
vscode
|
||||||
watch
|
watch
|
||||||
wget
|
wget
|
||||||
xz
|
xz
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, system, ... }: {
|
{ lib, pkgs, system, ... }: {
|
||||||
environment = {
|
environment = {
|
||||||
# We'll use Vim globally.
|
# We'll use Vim globally.
|
||||||
systemPackages = [
|
systemPackages = [
|
||||||
|
@ -52,8 +52,13 @@
|
||||||
system.stateVersion = 4;
|
system.stateVersion = 4;
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
# TODO(spotlightishere): Make this configurable beyond a singular device.
|
hostPlatform = lib.mkDefault "aarch64-darwin";
|
||||||
hostPlatform = "aarch64-darwin";
|
|
||||||
|
# Regretfully, we use some non-free packages.
|
||||||
|
config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||||
|
# Visual Studio Code
|
||||||
|
"vscode"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Our singular user!
|
# Our singular user!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue