feat: working app
This commit is contained in:
parent
344e1693bd
commit
ea70650c45
19 changed files with 653 additions and 197 deletions
|
@ -1,23 +1,28 @@
|
|||
name = "common"
|
||||
description = "Common set of utilities"
|
||||
# Crate Manifest for Dotfile Processor
|
||||
|
||||
[pkgs]
|
||||
openssh-server = {}
|
||||
openssh-client = {}
|
||||
git = {}
|
||||
netselect = { distros = ["debian", "ubuntu"] }
|
||||
reflector = { distros = ["arch"] }
|
||||
[crate]
|
||||
name = "dotfile-processor"
|
||||
description = "A versatile crate for managing dotfiles and system configurations."
|
||||
author = "Strix"
|
||||
|
||||
[actions]
|
||||
setup_ssh = ["sh", "./scripts/%"]
|
||||
reflector = { args = ["sh", "./scripts/setup_pm/%"], distro = ["arch"] }
|
||||
netselect = { args = [
|
||||
"sh",
|
||||
"./scripts/setup_pm/%",
|
||||
], distro = [
|
||||
"debian",
|
||||
"ubuntu",
|
||||
] }
|
||||
# List of packages to be installed
|
||||
[[packages]]
|
||||
name = "git"
|
||||
description = "Version control system"
|
||||
|
||||
[super_actions]
|
||||
pam_wheel = ["sh", "./scripts/%"]
|
||||
[[packages]]
|
||||
name = "nvim"
|
||||
description = "Text editor for creating and editing files"
|
||||
distro_name_mapping = { pacman = "neovim" }
|
||||
|
||||
[[packages]]
|
||||
name = "zsh"
|
||||
description = "Shell designed for interactive use"
|
||||
|
||||
[[actions.command]]
|
||||
user = "root"
|
||||
command = "sh ./scripts/pam_wheel.sh"
|
||||
description = "Pam wheel setup"
|
||||
|
||||
[metadata]
|
||||
repository = "https://git.saluco.nl/strix/dotfiles"
|
||||
|
|
22
crates/ssh/config
Normal file
22
crates/ssh/config
Normal file
|
@ -0,0 +1,22 @@
|
|||
## neb servers
|
||||
|
||||
# hydrogen red helix
|
||||
Host H
|
||||
Hostname hydrogen.red.helix.saluco.nl
|
||||
|
||||
# argon red helix
|
||||
Host A
|
||||
Hostname argon.red.helix.saluco.nl
|
||||
|
||||
# iron red sphere
|
||||
Host I
|
||||
Hostname iron.red.sphere.saluco.nl
|
||||
|
||||
## utility servers
|
||||
Host git
|
||||
Hostname git.saluco.nl
|
||||
User git
|
||||
|
||||
Host github
|
||||
Hostname github.com
|
||||
User git
|
11
crates/ssh/crate.toml
Normal file
11
crates/ssh/crate.toml
Normal file
|
@ -0,0 +1,11 @@
|
|||
[crate]
|
||||
name = "ssh"
|
||||
author = "Strix"
|
||||
description = "fixes the ssh files"
|
||||
|
||||
[[actions.command]]
|
||||
command = "ls -lah"
|
||||
|
||||
[[actions.link]]
|
||||
src = "./config"
|
||||
dest = "~/.ssh/config"
|
Loading…
Add table
Add a link
Reference in a new issue