Added home manager install bash script; removed latex from emacs; updated media.nix hardware config

This commit is contained in:
Random936 2024-07-04 22:16:03 -07:00
parent 4ab70f9f6e
commit 9ed6d70baa
3 changed files with 20 additions and 2 deletions

View File

@ -14,7 +14,7 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/80be06c6-fafe-43de-a0e5-90464bdd0666";
{ device = "/dev/disk/by-uuid/e92861c0-ac2d-4477-a57a-c9ea6108ff5d";
fsType = "ext4";
};

View File

@ -7,7 +7,6 @@
isync
ispell
ledger
texliveFull
mu
# Fonts

19
install-homemanager.sh Executable file
View File

@ -0,0 +1,19 @@
#!/usr/bin/env bash
STATE_VERSION="24.05"
if [ $(id -u) != 0 ]; then
echo "This script must be run as root."
exit
fi
echo "Adding home-manager:${STATE_VERSION} to nix channels..."
nix-channel --add "https://github.com/nix-community/home-manager/archive/release-${STATE_VERSION}.tar.gz" home-manager
echo "Updating nix channels..."
nix-channel --update
echo "Installing home-manager..."
nix-shell '<home-manager>' -A install
echo "Finished..."