mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-17 19:38:54 +01:00
818d8a7df3
The polkit package is used to let unprivileged users run certain commands. With it, it is possible to run system commands such as `poweroff` and `reboot` with an unprivileged user. Traditionally, only privileged users have access to power management, but for many desktop setups, you may want to let unprivileged users perform operations such as shutdown the machine if no other users are logged in. |
||
---|---|---|
.. | ||
001-preinstall | ||
002-install | ||
003-configure | ||
004-postinstall | ||
install.sh | ||
README.md |
Install Scripts
Here are my Arch Linux install scripts. They are divided into 4 parts:
- Pre-install: Setting up the drive to install Arch on
- Install: Installing Arch Linux to that drive
- Configure: Writing some basic low-level config files
- Post-install: Post-install configuration
I have one install.sh
script that calls the first three scripts with the proper settings. The fourth script should be ran after a reboot. (TODO: Probably easier to run a subset of post-install commands in the installation media, + internet will already be covered, which allows us to clone this repository to the newly created home directory and run any other post-install commands on first boot... may also be useful to divide the install scripts a bit further to support more options).
Note
: If you do not understand my install scripts, you should follow the Installation guide instead.
Setup
TODO...