bins: only install rpr on gui hosts

This commit is contained in:
Aaron Bieber 2023-01-11 10:08:57 -07:00
parent d9e3087f4e
commit 23e825af60
No known key found for this signature in database
2 changed files with 6 additions and 7 deletions

View File

@ -12,17 +12,11 @@ let
inherit gosignify;
inherit (pkgs) curl;
});
rpr = pkgs.writeScriptBin "rpr" (import ./rpr.nix {
inherit (pkgs) _1password;
inherit (pkgs) gh;
inherit (pkgs) tea;
});
in {
environment.systemPackages = with pkgs; [
checkRestart
ix
#rpr
sfetch
xclip
xinStatus

View File

@ -1,6 +1,11 @@
{ config, lib, pkgs, ... }:
let
rage = pkgs.writeScriptBin "rage" (import ../bins/rage.nix { inherit pkgs; });
rpr = pkgs.writeScriptBin "rpr" (import ../bins/rpr.nix {
inherit (pkgs) _1password;
inherit (pkgs) gh;
inherit (pkgs) tea;
});
in with lib; {
imports = [ ./gnome.nix ./kde.nix ./xfce.nix ./arcan.nix ];
@ -47,7 +52,7 @@ in with lib; {
sound.enable = true;
security.rtkit.enable = true;
environment.systemPackages = with pkgs; [ brave vlc pcsctools rage ];
environment.systemPackages = with pkgs; [ brave vlc pcsctools rage rpr ];
programs = {
firejail = {