https://github.com/niksingh710/ndots
NixOs/Nix Config using flake (flake-parts).
https://github.com/niksingh710/ndots
dotfiles flake-parts flake8 home-manager nix-config nixos nixos-con nixpkgs wayland
Last synced: 20 days ago
JSON representation
NixOs/Nix Config using flake (flake-parts).
- Host: GitHub
- URL: https://github.com/niksingh710/ndots
- Owner: niksingh710
- Created: 2024-09-21T16:01:40.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-03-08T14:38:10.000Z (about 2 months ago)
- Last Synced: 2025-03-31T17:17:27.235Z (27 days ago)
- Topics: dotfiles, flake-parts, flake8, home-manager, nix-config, nixos, nixos-con, nixpkgs, wayland
- Language: Nix
- Homepage:
- Size: 476 KB
- Stars: 94
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

**[gdots](https://github.com/niksingh710/gdots) + [cdots](https://github.com/niksingh710/cdots)**
My **[NixOS](https://nixos.org)/[Nix Config](https://nixos.org/download/#download-nix)** built using flakes.
I've used **[Flake-Parts](https://flake.parts)** to modularize the config.
**Hyprland + Waybar Setup**



This repository contains my Linux rice setup, along with my shell configuration, which I find intuitive and efficient to work with. 🎨✨
| Hosts | Description |
| ----- | ----------- |
| **mach** | My personal laptop (Hyprland, waybar, and much More, Most of the setup is setted up for this.) |
| **vm** | Virtual Machine for testing (The tinker box it is minimal and works for anything [CLI ONLY]) |
| **iso** | Custom ISO for installation (My [editor](https://github.com/niksingh710/nvix), git, disko, NetworkManager, Presetted up)|```bash
# Instructions to build the ISO (output will reside in result/iso)
nix build .#iso
```# Instructions to Install
```bash
# (This will partition the disk and mount it)
# [For encryption use enc-disko, that will prompt for password during partitioning]
# (use nixos-generate-config to generate the hardware-configuration)sudo disko --mode destroy,format,mount ./disko/.nix
sudo nixos-install --no-root-passwd --root /mnt --flake github:niksingh710/ndots#
```>[!Note]
> Nixos is my primary right now and It is a impermanenet setup.
To know more search for `erase-your-darlings nix` on the internet. (I could have added resource but it is a rabbit hole.)#### Check out [Utils](https://github.com/niksingh710/utils)
Repository for my utility scripts and tools.
They run and anyone can tailor them with overrides.## Instructions for the templates
```
nix flake init -t github:niksingh710/ndots#
```
Instructions for Default ISO
```
# Look the disko dir, It contains a non Encrypted partitioning scheme (disko) and an Encrypted partitioning scheme (enc-disko).sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko disko.nix
nixos-install --root /mnt --flake github:niksingh710/ndots#
``````sh
Label: /dev/disk/by-partlabel/disk-primary-root or /dev/mapper/cryptroot (if rooted)
subvol:
root -> /
nix -> /nix
persistent -> /persistent
old_root -> (not mounted [contains backup])Label: /dev/disk/by-partlabel/disk-primary-ESP
vfat -> /boot
```**To search through backup mount Label of root**
### 🎨 Hyprland and Themed Setup
| | |
|-|-||  |  |
| ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- |

You can find more UI previews in my old repository: [gdots](https://github.com/niksingh710/gdots) or in my [Hacky issue](https://github.com/niksingh710/ndots/issues/1)
**Colors are adapted from the wallpapers**
- For Telegram I have ported `walogram` theme generator for my stylix config.
I’ve used **[Stylix](https://github.com/danth/stylix)** for theming.
Check out my favorite color schemes on [base16](https://github.com/niksingh710/base-16-colors).
---
### 🐚 Shell Setup
> **Note:** My shell module is written as an independent HomeManager module, so it can be utilized by anyone.
#### Starship Config for Zsh

#### FZF
|  |  |
| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|  |  || Mapping | Action |
| ----------------------- | ------------------------------------------------ |
| `Ctrl-j` | Move down |
| `Ctrl-k` | Move up |
| `Ctrl-p` | Toggle preview window |
| `Ctrl-r` | Search through history |
| `Ctrl-/` | Search for an AUR package with installation info |
| `Ctrl-space` (fzf list) | Select multiple |
| `Ctrl-/` (fzf list) | Deselect multiple |---
**Note:** The preview images were taken from my old repositories: [cdots](https://github.com/niksingh710/cdots) / [gdots](https://github.com/niksingh710/gdots).
I will be updating this repository in the near future. If you can help with documentation or have suggestions regarding structure or configuration, feel free to open an issue or create a PR. Any guidance regarding a more "Nix way" of doing things is also welcome.
---
## Acknowledgments
I would like to extend my heartfelt thanks to the following individuals whose configurations and resources greatly inspired me to Use NixOs:
- [iynaix](https://github.com/iynaix)
- [fufexan](https://github.com/fufexan)
- [nobbZ](https://github.com/nobbZ)
- [lilleaila ](https://github.com/lilleaila)
- [vimjoyer](https://github.com/vimjoyer)