diff --git a/hardware/media.nix b/hardware/media.nix index c9fd506..daa9f99 100644 --- a/hardware/media.nix +++ b/hardware/media.nix @@ -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"; }; diff --git a/home/emacs.nix b/home/emacs.nix index 724c0c7..1b352b4 100644 --- a/home/emacs.nix +++ b/home/emacs.nix @@ -7,7 +7,6 @@ isync ispell ledger - texliveFull mu # Fonts diff --git a/install-homemanager.sh b/install-homemanager.sh new file mode 100755 index 0000000..6280112 --- /dev/null +++ b/install-homemanager.sh @@ -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 '' -A install + +echo "Finished..."