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, ... }:
|
{ pkgs, lib, isUnstable, ... }:
|
||||||
let
|
let
|
||||||
ix = pkgs.writeScriptBin "ix" (import ./ix.nix { inherit (pkgs) perl; });
|
ix = pkgs.writeScriptBin "ix" (import ./ix.nix { inherit (pkgs) perl; });
|
||||||
rage = pkgs.writeScriptBin "rage" (import ./rage.nix { inherit pkgs; });
|
|
||||||
sfetch = pkgs.writeScriptBin "sfetch"
|
sfetch = pkgs.writeScriptBin "sfetch"
|
||||||
(import ./sfetch.nix { inherit (pkgs) minisign curl; });
|
(import ./sfetch.nix { inherit (pkgs) minisign curl; });
|
||||||
checkRestart = pkgs.writeScriptBin "check-restart"
|
checkRestart = pkgs.writeScriptBin "check-restart"
|
||||||
(import ./check-restart.nix { inherit (pkgs) perl; });
|
(import ./check-restart.nix { inherit (pkgs) perl; });
|
||||||
in {
|
in { environment.systemPackages = with pkgs; [ ix sfetch xclip checkRestart ]; }
|
||||||
environment.systemPackages = with pkgs; [ rage ix sfetch xclip checkRestart ];
|
|
||||||
}
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ 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 ];
|
imports = [ ./gnome.nix ./kde.nix ./xfce.nix ./arcan.nix ];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
@ -40,7 +42,13 @@ with lib; {
|
|||||||
|
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
security.rtkit.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 = {
|
programs = {
|
||||||
firejail = {
|
firejail = {
|
||||||
|
Loading…
Reference in New Issue
Block a user