Skip to content

Hyprland on NixOS - A Highly Customizable Flake โ„๏ธ๐Ÿƒ

Notifications You must be signed in to change notification settings

Arana-Jayavihan/Lucifers_NIX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Lucifer's NIX Flake โ„๏ธ

Hello folks, Welcome to my flake repository for NixOS, I've been loving NixOS since the day I installed it on my system. So here is my current configuration, I'll be updating this pretty often with new features, bug fixes, and improvements. Enjoy ๐Ÿƒ

Screenshots

preview1 preview2 preview3 preview4 preview4 preview6

Installation โš™๏ธ

Install a fresh NixOS on target system (Recommended).

After installation, reboot to the fresh installation and open a terminal.

export NIX_CONFIG="experimental-features = nix-command flakes" 

Install Git and Nano (or any preferred editor)

nix-shell -p git nano

Clone the repository

git clone https://github.com/Arana-Jayavihan/Lucifers_NIX.git

Recreate the hardware.nix

cd Lucifers_NIX
rm hardware.nix
nixos-generate-config --show-hardware-config > hardware.nix

Clone the wallpaper repository

mkdir ~/Projects
cd ~/Projects
git clone https://github.com/Arana-Jayavihan/nix-wallpapers.git

Create user password

This flake have the user's password manually set in the system.nix file, to change the password run the following command and replace the "hashedPassword" in the systems.nix.

mkpasswd -m sha-512 "password"

Change configuration in options.nix accordingly

The options.nix file contains the options to configure the shell, system, and other configurations.

Flake Installation

After all optional configurations are done, install the flake by executing,

sudo nixos-rebuild switch --flake ~/Lucifers_NIX/

Installing packages

Pre-Installation

The system.nix file contains the packages to be installed as the system or user, you can add the packages of your preference in the system.nix file.

Post-Installation

After flake installation and rebooting, you can simply use "nixInstall" command to install packages

nixInstall user||system <package1> <package2>

Then reboot the system to enjoy ๐Ÿƒ

Credits ๐Ÿ’ซ

Huge appreciation for Tyler Kelley for building such an amazing flake. Learned a lot from your configuration.

credits