mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-21 12:11:40 +01:00
fedora: Revoke sudo privileges when no longer needed
We don't need sudo privileges when installing the dotfiles and vim plugins.
This commit is contained in:
parent
15047e15e6
commit
6f58c47506
@ -19,6 +19,9 @@ sudo -n dnf install -y make fedpkg
|
|||||||
# Run make
|
# Run make
|
||||||
make
|
make
|
||||||
|
|
||||||
|
# Revoke privileges
|
||||||
|
sudo -K
|
||||||
|
|
||||||
# Install dotfiles
|
# Install dotfiles
|
||||||
make -C ..
|
make -C ..
|
||||||
|
|
||||||
@ -27,6 +30,3 @@ wal --theme base16-tomorrow-night
|
|||||||
|
|
||||||
# Run vim for the first time (i.e. install plugins and exit)
|
# Run vim for the first time (i.e. install plugins and exit)
|
||||||
nvim
|
nvim
|
||||||
|
|
||||||
# Revoke privileges
|
|
||||||
sudo -K
|
|
||||||
|
Loading…
Reference in New Issue
Block a user