removed curator
This commit is contained in:
parent
f65c6846f7
commit
f6b7be239d
7 changed files with 2 additions and 52 deletions
|
|
@ -1,15 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Ensure new users are added to plugdev by default so OpenRazer udev rules work.
|
||||
useradd_defaults=/etc/default/useradd
|
||||
plugdev_group=plugdev
|
||||
|
||||
touch "$useradd_defaults"
|
||||
|
||||
if ! grep -q "^GROUPS=" "$useradd_defaults"; then
|
||||
printf 'GROUPS=%s\n' "$plugdev_group" >>"$useradd_defaults"
|
||||
elif ! grep -Eq "^GROUPS=.*\\b${plugdev_group}\\b" "$useradd_defaults"; then
|
||||
# Append plugdev to any existing GROUPS setting.
|
||||
sed -i "s/^GROUPS=\\(.*\\)/GROUPS=\\1 ${plugdev_group}/" "$useradd_defaults"
|
||||
fi
|
||||
|
|
@ -1 +0,0 @@
|
|||
/var/home/randogoth/Projects/code/randofin-os/files/system/usr/lib/systemd/user/deinonyxus-curator-init.service
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
[Unit]
|
||||
Description=Install Nix Home Manager and packages on first login
|
||||
ConditionUser=!root
|
||||
ConditionPathExists=!%h/.local/state/deinonyxus/curator-init.done
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/libexec/deinonyxus/curator.sh
|
||||
ExecStartPost=/usr/bin/mkdir -p %h/.local/state/deinonyxus
|
||||
ExecStartPost=/usr/bin/touch %h/.local/state/deinonyxus/curator-init.done
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
# Ensure plugdev exists for OpenRazer udev permissions
|
||||
g plugdev - -
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
set -oue pipefail
|
||||
|
||||
curator_git="--from git+https://codeberg.org/randogoth/curator/"
|
||||
|
||||
uvx $curator_git curator init
|
||||
uvx $curator_git curator add nix:mc nix:micro nix:devbox
|
||||
uvx $curator_git curator switch
|
||||
uv tool install $curator_git curator
|
||||
Loading…
Add table
Add a link
Reference in a new issue