ops/nixos: factor things useful on general 'workstation' machines out

This commit is contained in:
Luke Granger-Brown 2020-06-28 19:38:20 +01:00
parent 21fa99f68e
commit 00e2f9e1d3
2 changed files with 20 additions and 7 deletions

19
ops/nixos/lib/client.nix Normal file
View file

@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ pkgs, depot, lib, ... }:
let
inherit (lib) mkBefore;
in
{
users.users.lukegb.packages = mkBefore (with pkgs; [
depot.nix.pkgs.copybara
direnv
git
go
graphicsmagick-imagemagick-compat
ripgrep
whois
]);
}

View file

@ -18,6 +18,7 @@ let
in { in {
imports = [ imports = [
../lib/zfs.nix ../lib/zfs.nix
../lib/client.nix
]; ];
boot.initrd.availableKernelModules = [ boot.initrd.availableKernelModules = [
@ -165,21 +166,14 @@ in {
}; };
}) })
chromium chromium
depot.nix.pkgs.copybara
direnv
efibootmgr efibootmgr
git
go
graphicsmagick-imagemagick-compat
iotop iotop
iw iw
lutris lutris
pavucontrol pavucontrol
ripgrep
rxvt_unicode rxvt_unicode
teamspeak_client teamspeak_client
vulkan-tools vulkan-tools
whois
xclip xclip
yubioath-desktop yubioath-desktop
]; ];