It builds, submodules
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
{
|
||||
imports = [ ./suites ];
|
||||
imports = [];
|
||||
}
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
#https://xeiaso.net/talks/asg-2023-nixos/ example
|
||||
{ lib, config, pkgs, options, azos-utils, ... }:
|
||||
{
|
||||
options.azos.suites.base.enable = (azos-utils.mkSuiteEnableOption {});
|
||||
|
||||
imports = [
|
||||
./emacs
|
||||
./python
|
||||
./gpg-agent
|
||||
./git
|
||||
./name.nix
|
||||
];
|
||||
|
||||
options.azos.name = lib.mkOption{
|
||||
default = "YOUR NAME HERE";
|
||||
type = lib.types.str;
|
||||
description = "Your full name.";
|
||||
};
|
||||
|
||||
config.home.packages = [
|
||||
pkgs.liberation_ttf
|
||||
pkgs.font-awesome
|
||||
];
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
{ lib, config, pkgs, azos-utils, outputs, ... }:
|
||||
let
|
||||
isEnabled =
|
||||
config.azos.emacs.enable && config.azos.suites.base.enable;
|
||||
emacspkgs = config.azos.emacs.emacspkg.pkgs;
|
||||
localPkgName = "azos-emacs-base";
|
||||
in
|
||||
{
|
||||
options.azos.emacs.enable = (azos-utils.mkFeatureEnableOption {
|
||||
description = "Enables EMACS installation.";});
|
||||
|
||||
options.azos.emacs.emacspkg = lib.mkOption{
|
||||
type = lib.types.package;
|
||||
default = pkgs.emacs;
|
||||
description = "The base package to use for Emacs.";
|
||||
};
|
||||
|
||||
options.azos.emacs.pkgs = lib.mkOption{
|
||||
default = [];
|
||||
description = "List of packages for Emacs.";
|
||||
};
|
||||
|
||||
options.azos.emacs.enabledSuites = lib.mkOption{
|
||||
default = [];
|
||||
description = "List of enabled suite names for Emacs. Used to enable the " +
|
||||
"custom packages in init.el.";
|
||||
};
|
||||
|
||||
#Set config
|
||||
config = lib.mkIf isEnabled {
|
||||
#Base emacs suite definition
|
||||
azos.emacs.pkgs = [pkgs.azos.emacs.base];
|
||||
|
||||
azos.emacs.enabledSuites = [localPkgName];
|
||||
|
||||
#Global instantiation of Emacs
|
||||
programs.emacs = {
|
||||
enable = true;
|
||||
package =
|
||||
((pkgs.emacsPackagesFor config.azos.emacs.emacspkg).emacsWithPackages (
|
||||
config.azos.emacs.pkgs
|
||||
));
|
||||
extraConfig = lib.strings.concatStringsSep "\n"
|
||||
(builtins.map (s : "(require '" + s + ")\n")
|
||||
config.azos.emacs.enabledSuites);
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{ lib, config, pkgs, azos-utils, ... }:
|
||||
let
|
||||
isEnabled =
|
||||
config.azos.git.enable &&
|
||||
config.azos.suites.base.enable;
|
||||
in
|
||||
{
|
||||
options.azos.git.enable = (azos-utils.mkFeatureEnableOption {});
|
||||
|
||||
config = lib.mkIf isEnabled {
|
||||
programs.git.enable = true;
|
||||
};
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
{ lib, config, pkgs, azos-utils, ... }:
|
||||
let
|
||||
isEnabled =
|
||||
config.azos.gpgagent.enable &&
|
||||
config.azos.suites.base.enable;
|
||||
in
|
||||
{
|
||||
options.azos.gpgagent.enable = (azos-utils.mkFeatureEnableOption {});
|
||||
|
||||
config = lib.mkIf isEnabled {
|
||||
home.packages = [ pkgs.gnupg ];
|
||||
home.file.".gnupg/gpg-agent.conf".source = ./gpg-agent.conf;
|
||||
};
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
grab
|
||||
pinentry-program /usr/bin/pinentry
|
||||
default-cache-ttl 86400
|
||||
max-cache-ttl 86400
|
||||
enable-ssh-support
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
#https://xeiaso.net/talks/asg-2023-nixos/ example
|
||||
{ lib, config, pkgs, ... }:{
|
||||
home.file."name.txt".text = ''${config.azos.name}'';
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
{ lib, config, pkgs, azos-utils, ... }:
|
||||
let
|
||||
isEnabled =
|
||||
config.azos.python.enable && config.azos.suites.base.enable;
|
||||
pythonpkgs = config.azos.python.pythonpkg.pkgs;
|
||||
in
|
||||
{
|
||||
options.azos.python.enable = (azos-utils.mkFeatureEnableOption {});
|
||||
|
||||
options.azos.python.pythonpkg = lib.mkOption{
|
||||
type = lib.types.package;
|
||||
default = pkgs.python3;
|
||||
};
|
||||
|
||||
options.azos.python.pkgs = lib.mkOption{
|
||||
default = [];
|
||||
description = "List of packages for python.";
|
||||
};
|
||||
|
||||
config = lib.mkIf isEnabled {
|
||||
|
||||
home.packages = with pkgs;
|
||||
[(config.azos.python.pythonpkg.withPackages (python-pkgs: config.azos.python.pkgs))
|
||||
];
|
||||
};
|
||||
|
||||
imports = [
|
||||
];
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
#https://xeiaso.net/talks/asg-2023-nixos/ example
|
||||
{ lib, config, pkgs, options, azos-utils, ... }:
|
||||
{
|
||||
_module.args.azos-utils = import ./utils.nix { lib = lib; };
|
||||
|
||||
imports = [
|
||||
./base
|
||||
./station
|
||||
./dev
|
||||
./editor
|
||||
./exwm
|
||||
];
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
#https://xeiaso.net/talks/asg-2023-nixos/ example
|
||||
{ lib, config, pkgs, options, azos-utils, ... }:
|
||||
{
|
||||
options.azos.suites.dev.enable = (azos-utils.mkSuiteEnableOption {});
|
||||
|
||||
imports = [
|
||||
./emacs
|
||||
];
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{ lib, config, pkgs, azos-utils, ... }:
|
||||
let
|
||||
isEnabled =
|
||||
config.azos.emacs.enable && config.azos.suites.dev.enable;
|
||||
emacspkgs = config.azos.emacs.emacspkg.pkgs;
|
||||
localPkgName = "azos-emacs-dev";
|
||||
in
|
||||
{
|
||||
#Set config
|
||||
config = lib.mkIf isEnabled {
|
||||
|
||||
#Base emacs suite definition
|
||||
azos.emacs.pkgs = [pkgs.azos.emacs.dev];
|
||||
|
||||
azos.emacs.enabledSuites = [localPkgName];
|
||||
};
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
#https://xeiaso.net/talks/asg-2023-nixos/ example
|
||||
{ lib, config, pkgs, options, azos-utils, ... }:
|
||||
let
|
||||
isEnabled =
|
||||
config.azos.suites.editor.enable;
|
||||
in
|
||||
{
|
||||
options.azos.suites.editor.enable = (azos-utils.mkSuiteEnableOption {});
|
||||
|
||||
imports = [
|
||||
./emacs
|
||||
];
|
||||
|
||||
config = lib.mkIf isEnabled {
|
||||
home.packages = [ pkgs.azos.tex ];
|
||||
};
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
{ lib, config, pkgs, azos-utils, ... }:
|
||||
let
|
||||
isEnabled =
|
||||
config.azos.emacs.enable && config.azos.suites.dev.enable;
|
||||
emacspkgs = config.azos.emacs.emacspkg.pkgs;
|
||||
pythonpkgs = config.azos.python.pythonpkg.pkgs;
|
||||
localPkgName = "azos-emacs-editor";
|
||||
in
|
||||
{
|
||||
#Set config
|
||||
config = lib.mkIf isEnabled {
|
||||
|
||||
#Base emacs suite definition
|
||||
azos.emacs.pkgs = [pkgs.azos.emacs.base];
|
||||
|
||||
azos.emacs.enabledSuites = [localPkgName];
|
||||
|
||||
azos.python.pkgs = with pythonpkgs; [ graphviz pygments ];
|
||||
};
|
||||
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
{ lib, config, pkgs, azos-utils, ... }:
|
||||
let
|
||||
isEnabled =
|
||||
config.azos.tex.enable && config.azos.suites.editor.enable;
|
||||
in
|
||||
{
|
||||
options.azos.tex.enable = (azos-utils.mkFeatureEnableOption {});
|
||||
|
||||
options.azos.tex.pkgs = lib.mkOption{
|
||||
default = [];
|
||||
description = "List of packages for tex.";
|
||||
};
|
||||
|
||||
config = lib.mkIf isEnabled {
|
||||
azos.tex.pkgs = with pkgs.texlive; [
|
||||
combined.scheme-basic
|
||||
dvisvgm
|
||||
dvipng
|
||||
wrapfig
|
||||
amsmath
|
||||
ulem
|
||||
hyperref
|
||||
capt-of
|
||||
|
||||
polyglossia
|
||||
xcolor
|
||||
amsmath
|
||||
amsfonts
|
||||
braket
|
||||
hebrew-fonts
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [(texlive.combine azos.tex.pkgs)];
|
||||
};
|
||||
|
||||
imports = [
|
||||
];
|
||||
|
||||
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
#https://xeiaso.net/talks/asg-2023-nixos/ example
|
||||
#https://gist.github.com/rycee/1ad8654856ce8519f2270b18d27b76d5
|
||||
{ lib, config, pkgs, options, azos-utils, ... }:
|
||||
let
|
||||
isEnabled =
|
||||
config.azos.suites.exwm.enable;
|
||||
in
|
||||
{
|
||||
options.azos.suites.exwm.enable = (azos-utils.mkSuiteEnableOption {});
|
||||
|
||||
imports = [
|
||||
./emacs
|
||||
];
|
||||
|
||||
config = lib.mkIf isEnabled {
|
||||
home.packages = [ pkgs.xlayoutdisplay ];
|
||||
};
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
{ lib, config, pkgs, azos-utils, ... }:
|
||||
let
|
||||
isEnabled =
|
||||
config.azos.emacs.enable && config.azos.suites.exwm.enable;
|
||||
emacspkgs = config.azos.emacs.emacspkg.pkgs;
|
||||
localPkgName = "azos-emacs-exwm";
|
||||
in
|
||||
{
|
||||
#Set config
|
||||
config = lib.mkIf isEnabled {
|
||||
|
||||
azos.emacs.enabledSuites = [localPkgName];
|
||||
|
||||
#Base emacs suite definition
|
||||
azos.emacs.pkgs = [pkgs.azos.emacs.exwm];
|
||||
|
||||
home.file.".xinitrc".text = ''exec emacs'';
|
||||
};
|
||||
}
|
||||
@@ -1,273 +0,0 @@
|
||||
{ lib, config, pkgs, options, azos-utils, ... }:
|
||||
let
|
||||
isEnabled = config.azos.suites.base.enable;
|
||||
in
|
||||
{
|
||||
options.azos.suites.station.enable = azos-utils.mkSuiteEnableOption {};
|
||||
|
||||
imports = [
|
||||
./emacs
|
||||
];
|
||||
|
||||
config = lib.mkIf isEnabled {
|
||||
#Input!
|
||||
home.keyboard = {
|
||||
options = [
|
||||
"grp:alt_shift_toggle"
|
||||
];
|
||||
layout = "us,il";
|
||||
};
|
||||
|
||||
#Flameshot
|
||||
services.flameshot = {
|
||||
enable = true;
|
||||
settings = {
|
||||
General = {
|
||||
disabledTrayIcon = true;
|
||||
showStartupLaunchMessage = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
#DUNST
|
||||
services.dunst = {
|
||||
enable = true;
|
||||
settings = {
|
||||
global = {
|
||||
monitor = 0;
|
||||
follow = "keyboard";
|
||||
geometry = "300x5-30+20";
|
||||
|
||||
progress_bar = true;
|
||||
progress_bar_height = 10;
|
||||
progress_bar_frame_width = 1;
|
||||
progress_bar_min_width = 150;
|
||||
progress_bar_max_width = 300;
|
||||
|
||||
indicate_hidden = "yes";
|
||||
shrink = "no";
|
||||
transparency = 0;
|
||||
|
||||
notification_height = 0;
|
||||
separator_height = 1;
|
||||
padding = 3;
|
||||
horizontal_padding = 4;
|
||||
text_icon_padding = 0;
|
||||
|
||||
frame_width = 1;
|
||||
|
||||
separator_color = "frame";
|
||||
|
||||
background = "#cdcbb4";
|
||||
|
||||
sort = "yes";
|
||||
idle_threshold = 120;
|
||||
|
||||
### Text ###
|
||||
|
||||
font = "Iosevka Term 10";
|
||||
line_height = 0;
|
||||
|
||||
markup = "full";
|
||||
|
||||
format = "%s\n%b";
|
||||
|
||||
# Alignment of message text.
|
||||
alignment = "left";
|
||||
|
||||
# Vertical alignment of message text and icon.
|
||||
# Possible values are "top", "center" and "bottom".
|
||||
vertical_alignment = "center";
|
||||
|
||||
# Show age of message if message is older than show_age_threshold
|
||||
# seconds.
|
||||
show_age_threshold = 60;
|
||||
|
||||
# Split notifications into multiple lines if they don't fit into
|
||||
# geometry.
|
||||
word_wrap = "yes";
|
||||
|
||||
# Ignore newlines '\n' in notifications.
|
||||
ignore_newline = "no";
|
||||
|
||||
# Stack together notifications with the same content
|
||||
stack_duplicates = true;
|
||||
|
||||
# Hide the count of stacked notifications with the same content
|
||||
hide_duplicate_count = false;
|
||||
|
||||
# Display indicators for URLs (U) and actions (A).
|
||||
show_indicators = "yes";
|
||||
|
||||
### Icons ###
|
||||
|
||||
# Align icons left/right/off
|
||||
icon_position = "left";
|
||||
|
||||
# Scale small icons up to this size, set to 0 to disable. Helpful
|
||||
# for e.g. small files or high-dpi screens. In case of conflict,
|
||||
# max_icon_size takes precedence over this.
|
||||
min_icon_size = 0;
|
||||
|
||||
# Scale larger icons down to this size, set to 0 to disable
|
||||
max_icon_size = 32;
|
||||
|
||||
### History ###
|
||||
# Should a notification popped up from history be sticky or timeout
|
||||
# as if it would normally do.
|
||||
sticky_history = "yes";
|
||||
|
||||
# Maximum amount of notifications kept in history
|
||||
history_length = 20;
|
||||
|
||||
### Misc/Advanced ###
|
||||
|
||||
# Browser for opening urls in context menu.
|
||||
# browser = /usr/bin/firefox -new-tab
|
||||
|
||||
# Always run rule-defined scripts, even if the notification is suppressed
|
||||
always_run_script = "true";
|
||||
|
||||
# Define the title of the windows spawned by dunst
|
||||
title = "Dunst";
|
||||
|
||||
# Define the class of the windows spawned by dunst
|
||||
class = "Dunst";
|
||||
|
||||
# Print a notification on startup.
|
||||
# This is mainly for error detection, since dbus (re-)starts dunst
|
||||
# automatically after a crash.
|
||||
startup_notification = false;
|
||||
|
||||
# Manage dunst's desire for talking
|
||||
# Can be one of the following values:
|
||||
# crit: Critical features. Dunst aborts
|
||||
# warn: Only non-fatal warnings
|
||||
# mesg: Important Messages
|
||||
# info: all unimportant stuff
|
||||
# debug: all less than unimportant stuff
|
||||
verbosity = "mesg";
|
||||
|
||||
# Define the corner radius of the notification window
|
||||
# in pixel size. If the radius is 0, you have no rounded
|
||||
# corners.
|
||||
# The radius will be automatically lowered if it exceeds half of the
|
||||
# notification height to avoid clipping text and/or icons.
|
||||
corner_radius = 0;
|
||||
|
||||
# Ignore the dbus closeNotification message.
|
||||
# Useful to enforce the timeout set by dunst configuration. Without this
|
||||
# parameter, an application may close the notification sent before the
|
||||
# user defined timeout.
|
||||
ignore_dbusclose = false;
|
||||
|
||||
### Wayland ###
|
||||
# These settings are Wayland-specific. They have no effect when using X11
|
||||
|
||||
# Uncomment this if you want to let notications appear under fullscreen
|
||||
# applications (default: overlay)
|
||||
# layer = top
|
||||
|
||||
# Set this to true to use X11 output on Wayland.
|
||||
force_xwayland = false;
|
||||
|
||||
### Legacy
|
||||
|
||||
# Use the Xinerama extension instead of RandR for multi-monitor support.
|
||||
# This setting is provided for compatibility with older nVidia drivers that
|
||||
# do not support RandR and using it on systems that support RandR is highly
|
||||
# discouraged.
|
||||
#
|
||||
# By enabling this setting dunst will not be able to detect when a monitor
|
||||
# is connected or disconnected which might break follow mode if the screen
|
||||
# layout changes.
|
||||
force_xinerama = false;
|
||||
|
||||
### mouse
|
||||
|
||||
# Defines list of actions for each mouse event
|
||||
# Possible values are:
|
||||
# * none: Don't do anything.
|
||||
# * do_action: If the notification has exactly one action, or one is marked as default,
|
||||
# invoke it. If there are multiple and no default, open the context menu.
|
||||
# * close_current: Close current notification.
|
||||
# * close_all: Close all notifications.
|
||||
# These values can be strung together for each mouse event, and
|
||||
# will be executed in sequence.
|
||||
mouse_left_click = "close_current";
|
||||
mouse_middle_click = "do_action, close_current";
|
||||
mouse_right_click = "close_all";
|
||||
};
|
||||
|
||||
# Experimental features that may or may not work correctly. Do not expect them
|
||||
# to have a consistent behaviour across releases.
|
||||
experimental = {
|
||||
# Calculate the dpi to use on a per-monitor basis.
|
||||
# If this setting is enabled the Xft.dpi value will be ignored and instead
|
||||
# dunst will attempt to calculate an appropriate dpi value for each monitor
|
||||
# using the resolution and physical size. This might be useful in setups
|
||||
# where there are multiple screens with very different dpi values.
|
||||
per_monitor_dpi = false;
|
||||
};
|
||||
|
||||
# The internal keyboard shortcut support in dunst is now considered deprecated
|
||||
# and should be replaced by dunstctl calls. You can use the configuration of your
|
||||
# WM or DE to bind these to shortcuts of your choice.
|
||||
# Check the dunstctl manual page for more info.
|
||||
shortcuts = {
|
||||
# Shortcuts are specified as [modifier+][modifier+]...key
|
||||
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
|
||||
# "mod3" and "mod4" (windows-key).
|
||||
# Xev might be helpful to find names for keys.
|
||||
|
||||
# Close notification. Equivalent dunstctl command:
|
||||
# dunstctl close
|
||||
# close = ctrl+space
|
||||
|
||||
# Close all notifications. Equivalent dunstctl command:
|
||||
# dunstctl close-all
|
||||
# close_all = ctrl+shift+space
|
||||
|
||||
# Redisplay last message(s). Equivalent dunstctl command:
|
||||
# dunstctl history-pop
|
||||
# history = ctrl+grave
|
||||
|
||||
# Context menu. Equivalent dunstctl command:
|
||||
# dunstctl context
|
||||
# context = ctrl+shift+period
|
||||
|
||||
};
|
||||
|
||||
urgency_low = {
|
||||
foreground = "#2f4f4f";
|
||||
frame_color = "#cdcdb4";
|
||||
timeout = 10;
|
||||
# Icon for notifications with low urgency, uncomment to enable
|
||||
#icon = /path/to/icon
|
||||
};
|
||||
|
||||
urgency_normal = {
|
||||
foreground = "#00cd00";
|
||||
frame_color = "#9aff9a";
|
||||
timeout = 10;
|
||||
#icon = /path/to/icon
|
||||
};
|
||||
|
||||
urgency_critical = {
|
||||
foreground = "#cd0000";
|
||||
frame_color = "#cd0000";
|
||||
timeout = 0;
|
||||
#icon = /path/to/icon
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
qutebrowser
|
||||
mpv
|
||||
upower
|
||||
pass
|
||||
lmms
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
{ lib, config, pkgs, azos-utils, ... }:
|
||||
let
|
||||
isEnabled =
|
||||
config.azos.emacs.enable && config.azos.suites.station.enable;
|
||||
emacspkgs = config.azos.emacs.emacspkg.pkgs;
|
||||
|
||||
localPkgName = "azos-emacs-station";
|
||||
in
|
||||
{
|
||||
#Set config
|
||||
config = lib.mkIf isEnabled {
|
||||
|
||||
azos.emacs.enabledSuites = [localPkgName];
|
||||
|
||||
azos.emacs.pkgs = [pkgs.azos.emacs.station];
|
||||
};
|
||||
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
{ lib, config, pkgs, options, azos-utils, ... }:
|
||||
let
|
||||
isEnabled = config.azos.suites.station.enable && config.azos.mail.enable;
|
||||
in
|
||||
{
|
||||
options.azos.mail.enable = (azos-utils.mkFeatureEnableOption {
|
||||
description = "Enables Mail installation.";});
|
||||
|
||||
options.azos.mail.accounts = lib.mkOption{
|
||||
default = [];
|
||||
type = lib.types.list;
|
||||
description = "List of accounts.";
|
||||
};
|
||||
|
||||
|
||||
imports = [
|
||||
];
|
||||
|
||||
config = lib.mkIf isEnabled {
|
||||
home.packages = with pkgs; [pkgs pkgs];
|
||||
# home.packages = [#TODO THIS];
|
||||
};
|
||||
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
mkFeatureEnableOption = { ... } @ attrs :
|
||||
lib.mkOption (lib.mergeAttrs attrs {
|
||||
default = true;
|
||||
example = true;
|
||||
type = lib.types.bool;
|
||||
});
|
||||
|
||||
mkSuiteEnableOption = { ... } @ attrs :
|
||||
lib.mkOption (lib.mergeAttrs attrs {
|
||||
default = false;
|
||||
example = true;
|
||||
type = lib.types.bool;
|
||||
});
|
||||
|
||||
trivialFromOrg = { ... } @ attrs : (
|
||||
lib.mergeAttrs attrs {
|
||||
preBuild = ''
|
||||
for file in ./*.org
|
||||
do
|
||||
emacs --batch --eval "(require 'org)" --eval "(org-babel-tangle-file \"$file\" (concat (file-name-sans-extension \"$file\") \".el\") \"emacs-lisp\")"
|
||||
done
|
||||
'';
|
||||
unpackCmd = ''
|
||||
case "$curSrc" in
|
||||
*.el)
|
||||
# keep original source filename without the hash
|
||||
local filename=$(basename "$curSrc")
|
||||
filename="''${filename:33}"
|
||||
cp $curSrc $filename
|
||||
chmod +w $filename
|
||||
sourceRoot="."
|
||||
;;
|
||||
*.org)
|
||||
# keep original source filename without the hash
|
||||
local filename=$(basename "$curSrc")
|
||||
filename="''${filename:33}"
|
||||
cp $curSrc $filename
|
||||
chmod +w $filename
|
||||
sourceRoot="."
|
||||
;;
|
||||
*)
|
||||
_defaultUnpack "$curSrc"
|
||||
;;
|
||||
esac
|
||||
'';
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user