Skip to content

❄️ Shizuru❄️ . NOTE: This repo is fork from jakoolit but more nix way and more modularize. eg nixcord, nix4nvchad, stylix hyprland and plugin via hm and much more

Notifications You must be signed in to change notification settings

maotseantonio/NixOS-Hyprland

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Shizuru

My config is provided too much bleeding-edge. If you blindly run my install script, you got headache

🖼️ Gallery








Screenshots last updated 2024-12-26

🗃️ Overview

My config was different from JaKooLit NixOS-Hyprland. Dont blindly use my install script. plz check the install.sh file.

📚 Layout

📓 Components

NixOS + Hyprland
Window Manager Hyprland
Bar HyprPanel
Application Launcher rofi
Notification Daemon ags
Terminal Emulator Wezterm + kitty
Shell fish + atuin + Starship
Text Editor VSCodium + nix4nvchad
network management tool NetworkManager + network-manager-applet
System resource monitor Btop + Bottom
File Manager thunar + yazi
Fonts LigaMono Nerd Font + JetBrainsMono Nerd Font
Color Scheme Catppuccin-Mocha + Catppuccin-Dark
Cursor Chiharu
Icons Papirus-Dark
Lockscreen Hyprlock
Image Viewer imv
Media Player mpv
Music Player spotify
Screenshot Software grimblast
kernel [linux cachyos kernel]
Clipboard wl-clip-persist
Color Picker hyprpicker

📝 Shell aliases

Utils (EXPAND)
  • cl $\rightarrow$ clear
  • cd $\rightarrow$ z
  • tt $\rightarrow$ gtrash put
  • v $\rightarrow$ nvim
  • cat $\rightarrow$ bat
  • code $\rightarrow$ codium
  • icat $\rightarrow$ kitten icat
  • l $\rightarrow$ eza --icons -a --group-directories-first -1
  • ll $\rightarrow$ eza --icons -a --group-directories-first -1 --no-user --long
  • tree $\rightarrow$ eza --icons --tree --group-directories-first
Nixos (EXPAND)
  • fuckdit $\rightarrow$ cd ~/NixOS-Hyprland/ && codium ~/NixOS-Hyprland/
  • fucknix $\rightarrow$ sudo nixos rebuild switch --flake .#nixy4life

🛠️ Scripts

All the scripts are in ~/.config/home-manager/scripts/scripts/ and are exported as packages in ~/.config/home-manager/scripts/scripts.nix

extract.sh

Description: This script extract tar.gz archives in the current directory.

Usage: extract <archive_file>

compress.sh
maxfetch.sh

Description: This script is a modified version of the jobcmax/maxfetch script.

Usage: maxfetch

music.sh

Description: This script is for managing Audacious (music player). If Audacious is currently running, it will be killed (stopping the music); otherwise, it will start Audacious in the 8th workspace and resume the music.

Usage: music

runbg.sh

Description: This script runs a provided command along with its arguments and detaches it from the terminal. Handy for launching apps from the command line without blocking it.

Usage: runbg <command> <arg1> <arg2> <...>

nix-shell -p git
git clone https://github.com/maotseantonio/NixOS-Hyprland
cd NixOS-Hyprland

3. Install script

Caution

For some computers, the default rebuild command might get stuck due to CPU cores running out of RAM. To fix that modify the install script line: sudo nixos-rebuild switch --flake .#${HOST} to sudo nixos-rebuild switch --cores <less than your max number of cores> --flake .#${HOST}

Tip

As it is better to know what a script does before running it, you are advised to read it or at least see the Install script walkthrough section before execution.

Execute and follow the installation script :

./install.sh

4. Reboot

After rebooting, the config should be applied, you'll be greeted by hyprlock prompting for your password.

5. Manual config


## Install script walkthrough

A brief walkthrough of what the install script does.

#### 1. **Get username**

You will receive a prompt to enter your username, with a confirmation check.

#### 2. **Set username**

The script will replace all occurancies of the default usename ```CURRENT_USERNAME``` by the given one stored in ```$username```

#### 3. Create basic directories

The following directories will be created:
- ```~/Music```
- ```~/Documents```
- ```~/Pictures/wallpapers/others```

#### 4. Copy the wallpapers

Then the wallpapers will be copied into ```~/Pictures/wallpapers/others``` which is the folder in which the ```wallpaper-picker.sh``` script will be looking for them.

#### 5. Get the hardware configuration

It will also automatically copy the hardware configuration from ```/etc/nixos/hardware-configuration.nix``` to ```./hosts/${host}/hardware-configuration.nix``` so that the hardware configuration used is yours and not the default one.

#### 6. Choose a host (desktop / laptop)

Now you will need to choose the host you want. It depend on whether you are using a desktop or laptop (or a VM altho it can be realy buggy).

#### 7. Build the system

Lastly, it will build the system, which includes both the flake config and home-manager config.

👥 Credits

Other dotfiles that I learned / copy from:

About

❄️ Shizuru❄️ . NOTE: This repo is fork from jakoolit but more nix way and more modularize. eg nixcord, nix4nvchad, stylix hyprland and plugin via hm and much more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 54.6%
  • Lua 36.0%
  • Nix 8.3%
  • Python 1.1%