Hyprland setup on NixOS
- Change username "user" in configs if you use other name. Also change hostname if you need. I use "nixos".
- Place all configs to /home/$USER/nix and open this nix folder.
I have two configurated devices:
- GPD pocket 3 ("gpd-pocket-3")
- IdeaPad 5 Pro 14ACN ("lenovo")
For Lenovo run:
nixos-rebuild switch --flake . #lenovo
For GPD:
nixos-rebuild switch --flake . #gpd-pocket-3
If you use other then for quickly start I recommend you remove file .../nix/devices/lenovo/hardware-configuration.nix and after all run:
cp /etc/nixos/hardware-configuration.nix /home/$USER/nix/devices/lenovo/
nixos-rebuild switch --flake . #lenovo
If file /etc/nixos/hardware-configuration.nix don't exist then run next command and repeat:
sudo nixos-generate-config
Reboot. Done.
For rebuild use:
update [your_device]
For update and rebuild:
upgrade [your_device]
To set up your Telegram auto-update theme, follow these steps:
- Open "Settings/Chat Settings" in Telegram Desktop application.
- Click on the three dots in the top right corner and select "Create theme".
- Choose "Import existing theme" and select the file (available after the first home build) in "~/.config/telegram-base16.tdesktop-theme".