ops/nixos/porcorosso: move some packages into user packages

This commit is contained in:
Luke Granger-Brown 2020-05-11 16:21:48 +01:00
parent 75791a83a7
commit 3d8a588f3a

View file

@ -84,19 +84,7 @@ in {
environment.systemPackages = with pkgs; [
pciutils
nvidia-offload
(steam.override { extraProfile = nvidia-offload-profile; })
rebuilder
blackbox
arcanist
age
(depot.nix.pkgs.secretsync.configure {
workingDir = "/home/lukegb/depot";
gitlabAccessToken = secrets.deployer.gitlabAccessToken;
manifestVariable = "SECRETS_MANIFEST";
variablesToFile = {
"OPS_SECRETS_DEFAULT_NIX" = "ops/secrets/default.nix";
};
})
deluge
(writeShellScriptBin "windows" ''
set -ue
@ -154,10 +142,19 @@ in {
users.users.lukegb = {
extraGroups = [ "wheel" "networkmanager" ];
packages = with pkgs; [
(steam.override { extraProfile = nvidia-offload-profile; })
(writeScriptBin "javaws" ''
#!/bin/sh
exec ${depot.nix.pkgs.javaws-env}/bin/javaws-env "$@"
'')
(depot.nix.pkgs.secretsync.configure {
workingDir = "/home/lukegb/depot";
gitlabAccessToken = secrets.deployer.gitlabAccessToken;
manifestVariable = "SECRETS_MANIFEST";
variablesToFile = {
"OPS_SECRETS_DEFAULT_NIX" = "ops/secrets/default.nix";
};
})
teamspeak_client
];
};