My NixOS and home-manager config using Flakes ❄️. I like to call it FruesOS.
Go to file
2025-04-16 17:23:22 +02:00
.repo/assets Initial commit (after fork) 2024-07-08 18:00:42 +02:00
hosts Option name change 2025-04-16 17:23:03 +02:00
modules Use kitty in nemo 2025-04-16 17:23:22 +02:00
.gitignore Add live ISO 2024-07-12 12:42:50 +02:00
flake.lock Update flake.lock 2025-04-01 15:32:51 +02:00
flake.nix Move to Librewolf and reestructure browser config 2025-02-25 11:43:26 +01:00
LICENSE update LICENCE 2024-01-01 22:25:31 +01:00
README.md Switch to stable 2024-08-01 01:21:23 +02:00


peprolinbot's Flakes




Screenshots last updated 8th July 2024

🗃️ Overview

📚 Layout

  • flake.nix base of the configuration
  • hosts 🌳 per-host configurations that contain machine specific configurations
  • modules 🍱 modularized NixOS configurations

📓 Components

NixOS + Hyprland
Window Manager Hyprland
Bar Waybar
Application Launcher fuzzel
Notification Daemon swaync
Terminal Emulator Kitty
Shell zsh + oh-my-zsh + Starship
Text Editor VSCodium + Neovim
network management tool NetworkManager + network-manager-applet
System resource monitor Btop
File Manager nemo + yazi
Fonts Nerd fonts
Color Scheme Catppuccin
Cursor Nordzy-cursors
Icons catppuccin-papirus-folders
Lockscreen hyprlock
Image Viewer imv
Media Player mpv
Music Player audacious
Screenshot Software grimblast
Screen Recording wf-recorder
Clipboard wl-clip-persist
Color Picker hyprpicker

📝 Shell aliases

Utils (EXPAND)
  • c \rightarrow clear
  • cd \rightarrow z
  • tt \rightarrow gtrash put
  • vim \rightarrow nvim
  • cat \rightarrow bat
  • nano \rightarrow micro
  • icat \rightarrow kitten icat
  • dsize \rightarrow du -hs
  • findw \rightarrow grep -rl
  • 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)

${host} is either desktop or laptop

  • cdnix \rightarrow cd ~/nixos-config && codium ~/nixos-config
  • ns \rightarrow nix-shell --run zsh
  • nix-switch \rightarrow sudo nixos-rebuild switch --flake ~/nixos-config#${host}
  • nix-switchu \rightarrow sudo nixos-rebuild switch --upgrade --flake ~/nixos-config#${host}
  • nix-flake-update \rightarrow sudo nix flake update ~/nixos-config#
  • nix-clean \rightarrow sudo nix-collect-garbage && sudo nix-collect-garbage -d && sudo rm /nix/var/nix/gcroots/auto/* && nix-collect-garbage && nix-collect-garbage -d
Git (EXPAND)
  • ga \rightarrow git add
  • gaa \rightarrow git add --all
  • gs \rightarrow git status
  • gb \rightarrow git branch
  • gm \rightarrow git merge
  • gpl \rightarrow git pull
  • gplo \rightarrow git pull origin
  • gps \rightarrow git push
  • gpso \rightarrow git push origin
  • gc \rightarrow git commit
  • gcm \rightarrow git commit -m
  • gch \rightarrow git checkout
  • gchb \rightarrow git checkout -b
  • gcoe \rightarrow git config user.email
  • gcon \rightarrow git config user.name

🛠️ Scripts

All the scripts are in modules/home/scripts/scripts/ and are exported as packages in modules/home/scripts/default.nix

extract.sh

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

Usage: extract <archive_file>

compress.sh

Description: This script compress a file or a folder into a tar.gz archives which is created in the current directory with the name of the chosen file or folder.

Usage: compress <file> or compress <folder>

toggle_blur.sh

Description: This script toggles the Hyprland blur effect. If the blur is currently enabled, it will be disabled, and if it's disabled, it will be turned on.

Usage: toggle_blur

toggle_oppacity.sh

Description: This script toggles the Hyperland oppacity effect. If the oppacity is currently set to 0.90, it will be set to 1, and if it's set to 1, it will be set to 0.90.

Usage: toggle_oppacity

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> <...>

⌨️ Keybinds

View all keybinds by pressing $mainMod F1. By default $mainMod is the SUPER key.

🚀 Installation

⚠️ Use this configuration at your own risk! ⚠️
Applying custom configurations, especially those related to your operating system, can have unexpected consequences and may interfere with your system's normal behavior. While I have tested these configurations on my own setup, there is no guarantee that they will work flawlessly on all systems.
I am not responsible for any issues that may arise from using this configuration.

It is highly recommended to review the configuration contents and make necessary modifications to customize it to your needs before attempting the installation. Especially if you consider that I only use this on my own systems and I make almost no efforts for this to be used by anyone other than me.

  1. Install NixOs

    First install nixos using any graphical ISO image.

    Only been tested using the Gnome graphical installer and choosing the No desktop option durring instalation.

  2. Clone the repo

    nix-shell -p git
    git clone https://git.peprolinbot.com/peprolinbot/nixos-config
    cd nixos-config
    
  3. Customize Read everything (as much as you can anyway) and edit what you consider neccesary.

  4. Install

    Run sudo nixos-rebuild switch --flake . and fix any errors that might arise

  5. Reboot

    After rebooting, you'll be greeted by regreet prompting for your password.

👥 Credits

Heavily based on Frost-Phoenix's Flakes. And therefore, recursively, also:

Please open an issue if i forgot to credit you.