NixOS + home-manager configs, mirrored from GitLab SaaS. gitlab.com/andreijiroh-dev/nixops-config
nix-flake nixos home-manager nixpkgs nix-flakes
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add script to deploy changes to dotfiles repo

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>

+14
+14
scripts/copy-to-dotfiles.sh
··· 1 + #!/usr/bin/env bash 2 + set -xe 3 + 4 + # SPDX-License-Identifier: MPL 5 + # 6 + # This script is specific to @ajhalili2006's dotfiles repository, mainly 7 + # to deploy changes of shared/home-manager/main.nix in this repository 8 + # to .config/home-manager/meta.nix in the dotfiles@nixpkgs repo. (For context 9 + # the meta.nix itself is where the bulk of my customizations go by, and the 10 + # hone.nix will be specific to what host am I with help from Git branches.) 11 + NIXOS_CONFIG_DIR=${NIXOS_CONFIG_DIR:-"$HOME/.config/nixos"} 12 + 13 + cp -vr flake.* shared hosts "$NIXOS_CONFIG_DIR/" 14 + cp -vr shared/home-manager/main.nix "$HOME/.config/home-manager/meta.nix"