mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-28 07:33:03 +01:00
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.
10 lines
166 B
Bash
Executable File
10 lines
166 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Install packages to new filesystem
|
|
#
|
|
# https://wiki.archlinux.org/index.php/Installation_guide
|
|
|
|
set -xe
|
|
|
|
pacstrap /mnt base base-devel grub fish polkit
|