Important
I USE NIXOS, BTW
This is my new dotfiles that I will use in the next few years or might be my last dotfiles repo, this repo is unified all of the tools i use, not only for NixOS, Android, WSL and Windows in limited sense, and maybe hopefully servers and Macs if i have money.
I use combination of chezmoi for keep windows config from littering linux system and vice-versa, also dealing with sensitive files that need to be kept secret. Then I use Home-manager for managing my home configuration for my Linux/Android configs, enable absolute reproducability thanks to Nix, also enable me to use my Nix configs in non-root systems.
This repo is intended to combine my existing setup back when I use EndeavourOS(Arch-based) but also new Nix paradigm, not only to not shackled so much with Nix, but enables me to use some of my configurations on random Servers or PC that might be thrown at me to be worked on without actually have to deal with NixOS.
This is how I structure my nix-configs currently, it might will have few more diretories in the future.
the naming scheme is auto generated by Chezmoi, so don't be surprised.
on the front you will have:
AppData
, Windows equivalent of.config/
or.local
I think.dot_distrobox-recipe
, my recipe for distroboxes I might use, the command is long so having that is neat.dot_scripts
, my scripts, it has bash and powershell,some of them are carry over from my old dotfiles.mutable-configs
, configs that is mutable, not worth it to be carried to home directory since it will changed a lot, will be symlinked by the home-manager or other methods depend on what I need.dot_nix-configs
, my actual NixOS configs.private_dot_secrets
, well...encrypted files, configs, secretsprivate_dot_ssh
, obviously...my ssh keydot_zellij-layouts
, this is intended for template for layouts for zellij but havent been able to mastered it yet.Templates
, templates of files...maybe not a lot that I added atm.Wallpapers
, Waifu and car picture for Wallpapers
then when it comes to my actual .nix-configs
, the directories looks like this.
aliases
, my aliases...also carried from my old dotfiles.configs
, mostly my configuration files of packages, tried not to use nix for this so I can use it on non Nix systems.droids
, configurations forNix On Droid
, NixOS but for Android (a Termux-based app)home
, my home-manager configs, tried to seperate from systems as much as possiblelinux
, my systems configs for NixOSmachines
, mostly for backups but it's collection of hardware-configurations.modules
, modules of nix configs, seperated by systems and home-manager ofc.theming
, modules for my ricing, has Gnome, KDEPlasma 6, maybe Hyprland if I want a neckbeard.users
, modules for users, if there's more than me, or if I need a user for specific machines.wsl
, modules specifically for NixOS config on Windows Subsystem for Linux
This thing obviously can change overtime as this dotfiles grow.
ofc, i will assumed you to have Nix or NixOS installed in your linux systems
run this command to get my dotfiles:
nix-shell -p chezmoi git --run "chezmoi init dhupee"
then you add my Age key to the home directory, if you don't know, rob me. After that you run:
chezmoi apply
This will decrypt encypted files, and send the directories to targeted place, then switch
your NixOS and Home-Manager, in .nix-configs
directory run this one by one:
sudo nixos-rebuild switch --flake .#nitro
home-manager switch --flake .#dhupee
that will rebuild the systems into nitro
profile, and dhupee
home-manager profile and that will bring every tooling and ricing I have on such profile.
if you want to use other profiles then go on, check the flake.nix
for this it's simple, just add my age key file to the home, then just chezmoi init dhupee
then chezmoi apply
.
ofc, I will recommended you to use scoop to install shits.
- Home Manager
- Determinate Nix Installer
- Plasma Manager
- Nix On Droid
- NixOS WSL
- Spicetify Nix
- Nix Portable
- Scoop Package Manager
- Awesome Nix
- Partitioning NixOS with Disko
- Nix Shorts, A collection of short notes about Nix, down to what is immediately needed for users.
- NixOS profile specifically for Klipper Servers, for my 3D printer
- Live USB profile
- "Portable Linux" profile