From 8f9ba18f0a70432794371afc000b7550c05dd7c7 Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Wed, 9 Sep 2026 16:56:40 -0400 Subject: [PATCH] extra work for fws1 --- hosts/hl-fws1.nix | 12 ++++++++++-- modules/ABOUTME.md | 3 ++- modules/skyg-utils.nix | 3 +++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/hosts/hl-fws1.nix b/hosts/hl-fws1.nix index 2d02ec2..2211b18 100644 --- a/hosts/hl-fws1.nix +++ b/hosts/hl-fws1.nix @@ -10,18 +10,26 @@ }; desktop = { enable = true; - slimMode = true; tiler = { enable = true; hyprland.enable = true; hyprland.configLink = { - enable = false; + enable = true; mountAsSource = true; }; }; }; }; }; + + # dms + programs.dank-material-shell = { + enable = true; + systemd = { + enable = true; + restartIfChanged = true; + }; + }; # firmware updater services.fwupd.enable = true; hardware.framework.enableKmod = true; diff --git a/modules/ABOUTME.md b/modules/ABOUTME.md index 37be165..89b510e 100644 --- a/modules/ABOUTME.md +++ b/modules/ABOUTME.md @@ -10,7 +10,8 @@ modules/ ├── lib.nix # makeNixOs / makeIso / makeHomeManagerUsers / makeDarwinModule / eachSystem │ # (registers the `tether` flake input's NixOS module → programs.tether.*) ├── main.nix # Base module imported by every host: core/ + nixos/ + network-drives.nix -├── skyg-utils.nix # makeHyperlinkScriptToConfigs (symlinks configs/ → ~/.config/) +├── skyg-utils.nix # makeHyperlinkScriptToConfigs (symlinks configs/ → ~/.config/; +│ # backs up an existing real dir to .backup.) ├── macos.nix # macOS / nix-darwin module ├── network-drives.nix # skyg.networkDrives — NFS automount options ├── core/ # User, binary caches, distributed builds, macOS workarounds diff --git a/modules/skyg-utils.nix b/modules/skyg-utils.nix index 20cb96f..f42f5cb 100644 --- a/modules/skyg-utils.nix +++ b/modules/skyg-utils.nix @@ -23,6 +23,9 @@ sourcePath = "${configSource}/${filePath}"; in '' + if [[ -d "${homePath}" && ! -h "${homePath}" ]]; then + mv "${homePath}" "${homePath}.backup.$(date +%Y_%m_%d_%H_%M_%S)" + fi rm -f "${homePath}" if [[ ! -h "${homePath}" ]]; then ln -s "${sourcePath}" "${homePath}" || {