Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F54928625
D4214.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D4214.id.diff
View Options
diff --git a/.gitignore b/.gitignore
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,9 @@
*.pyc
*.pyo
+# Universal ctags
+/tags
+
# Don't ignore those files - instructions for tools like ripgrep
!.arcconfig
!.arclint
diff --git a/pillar/core/users.sls b/pillar/core/users.sls
--- a/pillar/core/users.sls
+++ b/pillar/core/users.sls
@@ -145,6 +145,7 @@
devserver_tasks:
- deploy_dotfiles
- deploy_nanotab
+ - fix_gdu
- install_rustup
- install_diesel
everywhere_tasks:
diff --git a/roles/devserver/userland-home/files/dereckson/.login_conf b/roles/devserver/userland-home/files/dereckson/.login_conf
new file mode 100644
--- /dev/null
+++ b/roles/devserver/userland-home/files/dereckson/.login_conf
@@ -0,0 +1,17 @@
+# -------------------------------------------------------------
+# FreeBSD login class capability
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# Source file: roles/devserver/userland-home/files/dereckson/.login_conf
+# -------------------------------------------------------------
+#
+# <auto-generated>
+# This file is managed by our rOPS SaltStack repository.
+#
+# Changes to this file may cause incorrect behavior
+# and will be lost if the state is redeployed.
+# </auto-generated>
+
+me:\
+ :path=~/bin /sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin:
diff --git a/roles/devserver/userland-home/homefiles.sls b/roles/devserver/userland-home/homefiles.sls
--- a/roles/devserver/userland-home/homefiles.sls
+++ b/roles/devserver/userland-home/homefiles.sls
@@ -11,6 +11,12 @@
{% for username, user in salt["forest.get_users"]().items() %}
{% set tasks = user.get("devserver_tasks", []) %}
+/home/{{ username }}/bin:
+ file.directory:
+ - user: {{ username }}
+ - group: {{ username }}
+ - mode: 755
+
{% if "deploy_dotfiles" in tasks %}
dotfiles_to_devserver_{{ username }}:
file.recurse:
@@ -37,6 +43,12 @@
- unset tabstospaces
{% endif %}
+{% if "fix_gdu" in tasks %}
+/home/{{ username }}/bin/gdu:
+ file.symlink:
+ - target: /opt/gdu/gdu
+{% endif %}
+
{% if "install_rustup" in tasks %}
{% set rustup_path = "/home/" + username + "/.cargo/bin/rustup" %}
diff --git a/roles/devserver/userland-software/dev.sls b/roles/devserver/userland-software/dev.sls
--- a/roles/devserver/userland-software/dev.sls
+++ b/roles/devserver/userland-software/dev.sls
@@ -233,6 +233,29 @@
- neovim
- {{ packages_prefixes.python3 }}pynvim
+ # Utilities used by Vim/Neovim distributions and plugins
+ - bottom
+ - lazygit
+ - tree-sitter
+ - tree-sitter-cli
+ - universal-ctags
+
+{% if grains["os_family"] == "FreeBSD" %}
+/opt/gdu:
+ archive.extracted:
+ - source: https://github.com/dundee/gdu/releases/download/v5.37.0/gdu_freebsd_amd64.tgz
+ - source_hash: f7fe2dc7b7118016f0cd67710371b69d5bd0acf382951000844995f985155ae8
+ - enforce_toplevel: False
+ - if_missing: /opt/gdu/gdu
+
+/opt/gdu/gdu:
+ file.rename:
+ - source: /opt/gdu/gdu_freebsd_amd64
+{% else %}
+gdu:
+ pkg.installed
+{% endif %}
+
# -------------------------------------------------------------
# Tools like code review utilities
#
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 26, 00:18 (16 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4219083
Default Alt Text
D4214.id.diff (3 KB)
Attached To
Mode
D4214: Install AstroNvim dependencies on devserver role
Attached
Detach File
Event Timeline
Log In to Comment