removed curator
This commit is contained in:
parent
f65c6846f7
commit
f6b7be239d
7 changed files with 2 additions and 52 deletions
13
README.md
13
README.md
|
|
@ -1,20 +1,11 @@
|
||||||
# Deinonyxus [](https://github.com/randogoth/deinonyxus/actions/workflows/build.yml)
|
# Deinonyxus [](https://github.com/randogoth/deinonyxus/actions/workflows/build.yml)
|
||||||
|
|
||||||
*Deinonyxus* is a personal spin of the UBlue Bluefin DX image with the 🍦[Lix](https://lix.systems/) flavored Nix package manager baked in and a first-login bootstrap for simple declarative package management using [curator](https://codeberg.org/randogoth/curator).
|
*Deinonyxus* is a personal spin of the UBlue Bluefin DX image with the 🍦[Lix](https://lix.systems/) flavored Nix package manager baked in.
|
||||||
|
|
||||||
The Nix store is seeded into `/usr/share/nix-store` in the image and bind-mounted from `/var/lib/nix-store` to `/nix` on boot to avoid overlay stacking limits on composefs/ostree.
|
|
||||||
|
|
||||||
## What’s inside
|
## What’s inside
|
||||||
- Base: `ghcr.io/ublue-os/bluefin-dx:latest` without Cockpit, Docker, Firefox, VS Code
|
- Base: `ghcr.io/ublue-os/bluefin-dx:latest` without Cockpit, Docker, Firefox, VS Code
|
||||||
- Lix: multi-user install baked in with persistence at `/var/home/nix`; `nix-daemon.service` enabled.
|
|
||||||
(D) - First-login bootstrap: installs Lix/nix packages `devbox`, `mc`, and `micro` via `curator`
|
|
||||||
- System packages added: `syncthing`, `uv`, `vscodium`, `waydroid`;
|
- System packages added: `syncthing`, `uv`, `vscodium`, `waydroid`;
|
||||||
- System flatpaks added: Telegram Desktop, Zen Browser
|
- System flatpaks added: Telegram Desktop, Waterfox browser
|
||||||
|
|
||||||
## First login
|
|
||||||
- Triggers for each non-root user on their first session.
|
|
||||||
- Writes state to `~/.local/state/deinonyxus/curator-init.done`; delete it to rerun.
|
|
||||||
- Bootstraps `~/.config/curator/inventory.toml` and runs `curator switch` with the packages set above.
|
|
||||||
|
|
||||||
## Just Recipes
|
## Just Recipes
|
||||||
- `upgrade-nix`: upgrades to the latest version of Lix via the user profile. Replaces `nix upgrade-nix` which does not work with an immutable lowerdir `/nix/store` folder
|
- `upgrade-nix`: upgrades to the latest version of Lix via the user profile. Replaces `nix upgrade-nix` which does not work with an immutable lowerdir `/nix/store` folder
|
||||||
|
|
|
||||||
|
|
@ -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
|
|
||||||
|
|
@ -21,7 +21,6 @@ modules:
|
||||||
- type: script
|
- type: script
|
||||||
scripts:
|
scripts:
|
||||||
- install-lix.sh
|
- install-lix.sh
|
||||||
- ensure-plugdev-defaults.sh
|
|
||||||
|
|
||||||
- type: systemd
|
- type: systemd
|
||||||
system:
|
system:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue