updated README's installation instructions

This commit is contained in:
Tomas Rivera
2026-03-11 11:26:44 +01:00
parent f770f80230
commit 7e1fddf239
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -3,16 +3,16 @@
### Installation guide
⚠️ **Note:**
Before using on another system, review:
Before using on another system, change:
- hostName
- hardware options
- if your computer is not a laptop change in ~/nixos/other/quickshell/bar/Power.qml the isLaptop variable to false. (This is a hardcoded value, because I can't get UPowerDevice.isLaptopBattery to work)
You need to have `git` installed before installing the config.
```shell
cd
git clone https://github.com/Totorile1/nixos.git
cd ./nixos
sudo cp /etc/nixos/hardware-configuration.nix ./hosts/laptop/hardware-configuration
sudo nixos-rebuild switch --flake ~/nixos/#laptop
```
+1 -1
View File
@@ -13,7 +13,7 @@ Item {
readonly property bool isPluggedIn: isCharging || chargeState == UPowerDeviceState.PendingCharge
readonly property real percentage: UPower.displayDevice.percentage
readonly property bool isLow: percentage <= 0.20
readonly property bool isLaptop: true // hardcoded because this doesnt work UPowerDevice.isLaptopBattery
readonly property bool isLaptop: UPowerDevice.isLaptop // hardcoded because this doesnt work UPowerDevice.isLaptopBattery
width: 32
height: 32