nixos-config/install.sh
2024-02-25 12:31:46 -06:00

16 lines
508 B
Bash

#!/bin/sh
# Automated script to install my dotfiles
echo "echo works"
# nix-shell -p git --command "git clone https://gitlab.com/librephoenix/nixos-config ~/.dotfiles"
# sudo nixos-generate-config --show-hardware-config > ~/.dotfiles/system/hardware-configuration.nix
# if [ -z "$EDITOR" ]; then
# EDITOR=nano;
# fi
# $EDITOR ~/.dotfiles/flake.nix;
# sudo nixos-rebuild switch --flake ~/.dotfiles#system;
# nix run home-manager/master -- switch --flake ~/.dotfiles#user;
# sudo ~/.dotfiles/harden.sh;