Added home manager install bash script; removed latex from emacs; updated media.nix hardware config
This commit is contained in:
parent
4ab70f9f6e
commit
9ed6d70baa
@ -14,7 +14,7 @@
|
|||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/80be06c6-fafe-43de-a0e5-90464bdd0666";
|
{ device = "/dev/disk/by-uuid/e92861c0-ac2d-4477-a57a-c9ea6108ff5d";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
isync
|
isync
|
||||||
ispell
|
ispell
|
||||||
ledger
|
ledger
|
||||||
texliveFull
|
|
||||||
mu
|
mu
|
||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
|
19
install-homemanager.sh
Executable file
19
install-homemanager.sh
Executable 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..."
|
Loading…
x
Reference in New Issue
Block a user