diff --git a/.dotter/global.toml b/.dotter/global.toml index 220b247..0ab95d7 100644 --- a/.dotter/global.toml +++ b/.dotter/global.toml @@ -14,8 +14,6 @@ depends = [ "writing", ] -[system] - [workstation] depends = ["linux", "desktop", "multimedia", "qutebrowser"] @@ -79,3 +77,7 @@ terminal = "~" [writing.files] "writing/README.md" = { target = "~/README.md", type = "symbolic", if = "false" } writing = "~" + +[system.files] +"bootstrap/system-packages" = { target = "/", type = "symbolic", owner = "root" } + diff --git a/.dotter/incl-systemwide.toml b/.dotter/incl-systemwide.toml deleted file mode 100644 index 2806e6e..0000000 --- a/.dotter/incl-systemwide.toml +++ /dev/null @@ -1,7 +0,0 @@ -[system] - -[system.files] -"bootstrap/system-packages" = { target = "/", type = "symbolic", owner = "root" } - -[system.variables] - diff --git a/.dotter/dots.toml b/.dotter/local.toml similarity index 100% rename from .dotter/dots.toml rename to .dotter/local.toml diff --git a/.dotter/dots-with-systemwide.toml b/.dotter/systemwide.toml similarity index 57% rename from .dotter/dots-with-systemwide.toml rename to .dotter/systemwide.toml index 50c86f6..5735687 100644 --- a/.dotter/dots-with-systemwide.toml +++ b/.dotter/systemwide.toml @@ -1,4 +1,3 @@ -includes = [".dotter/incl-systemwide.toml"] packages = ["system", "workstation"] [files] diff --git a/.gitignore b/.gitignore index 52f19de..2bc7810 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# don't move the cache into repo +/.dotter/cache.toml + # no idea why gopass adds this image to config path gopass-logo-small.png # diff --git a/install.sh b/install.sh index fd5f496..966d12d 100755 --- a/install.sh +++ b/install.sh @@ -77,13 +77,13 @@ manage_dotfiles() { check_consent y "Link dot files?" "Not linking dotfiles." || return check_consent n "Link system settings files? This will require sudo access but will not overwrite existing files." "Not touching system files." || link_systemfiles=false if [ "$link_systemfiles" == "false" ]; then - dotter deploy -l .dotter/dots.toml + dotter deploy echo "Linked dotfiles." else if [ -e "/etc/pacman.conf" ]; then check_consent n "Found an existing pacman.conf file, installation will error if it exists. Remove file?" && run_elevated rm "/etc/pacman.conf" fi - dotter deploy -l .dotter/dots-with-systemwide.toml + dotter deploy -l .dotter/systemwide.toml echo "Linked dotfiles and system files." fi }