bins: only install rage on systems with gui enabled
This commit is contained in:
parent
c3cb8c54ed
commit
27b953275c
@ -1,11 +1,8 @@
|
||||
{ pkgs, lib, isUnstable, ... }:
|
||||
let
|
||||
ix = pkgs.writeScriptBin "ix" (import ./ix.nix { inherit (pkgs) perl; });
|
||||
rage = pkgs.writeScriptBin "rage" (import ./rage.nix { inherit pkgs; });
|
||||
sfetch = pkgs.writeScriptBin "sfetch"
|
||||
(import ./sfetch.nix { inherit (pkgs) minisign curl; });
|
||||
checkRestart = pkgs.writeScriptBin "check-restart"
|
||||
(import ./check-restart.nix { inherit (pkgs) perl; });
|
||||
in {
|
||||
environment.systemPackages = with pkgs; [ rage ix sfetch xclip checkRestart ];
|
||||
}
|
||||
in { environment.systemPackages = with pkgs; [ ix sfetch xclip checkRestart ]; }
|
||||
|
@ -1,5 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
with lib; {
|
||||
let
|
||||
rage = pkgs.writeScriptBin "rage" (import ../bins/rage.nix { inherit pkgs; });
|
||||
in with lib; {
|
||||
imports = [ ./gnome.nix ./kde.nix ./xfce.nix ./arcan.nix ];
|
||||
|
||||
options = {
|
||||
@ -40,7 +42,13 @@ with lib; {
|
||||
|
||||
sound.enable = true;
|
||||
security.rtkit.enable = true;
|
||||
environment.systemPackages = with pkgs; [ brave go-font vlc pcsctools ];
|
||||
environment.systemPackages = with pkgs; [
|
||||
brave
|
||||
go-font
|
||||
vlc
|
||||
pcsctools
|
||||
rage
|
||||
];
|
||||
|
||||
programs = {
|
||||
firejail = {
|
||||
|
Loading…
Reference in New Issue
Block a user