Host specific files should now work

This commit is contained in:
2023-04-02 04:17:15 +03:00
parent 995cc569e7
commit d2cedd0fee
22 changed files with 132 additions and 66 deletions

View File

@@ -1,9 +1,4 @@
- defaults:
create:
mode: 0755
link:
create: true
exclude: ["*.md", "*renovate*"]
- include: 'hosts/defaults.yaml'
- clean:
~/:
~/.config:
@@ -19,6 +14,11 @@
mode: 0700
~/Code:
- link:
~/:
force: true
glob: true
path: base/**
prefix: "."
~/.config/:
glob: true
path: config/**
@@ -30,54 +30,9 @@
glob: true
mode: 0600
path: ssh/**
~/:
force: true
glob: true
path: base/**
prefix: "."
- shell:
- [git submodule update --init --recursive --force]
- bash scripts/install-go-packages.sh
# hosts!
## hosts: air
- if:
- cond: "[[ $(hostname) = air ]]"
met:
- link:
~/.config/:
glob: true
force: true
path: hosts/air/config/**
## hosts: v
- if:
- cond: "[[ $(hostname) = v ]]"
met:
- link:
~/.config/:
glob: true
force: true
path: hosts/v/config/**
## hosts: tunkki
- if:
- cond: "[[ $(hostname) = tunkki ]]"
met:
- link:
~/.config/:
glob: true
force: true
path: hosts/tunkki/config/**
## hosts: lakka
- if:
- cond: "[[ $(hostname) = lakka ]]"
met:
- link:
~/.irssi/*:
force: true
glob: true
path: hosts/lakka/irssi/**
~/.zshrc:
force: true
path: hosts/lakka/zshrc
- git submodule update --init --recursive --force
- bash local/bin/dfm install all
# GitHub CLI Extensions
- ghe:
# GitHub CLI extension for generating a report on repository dependencies.