-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Welcome to the dotfiles wiki!
This particular "yuki" configuration contains configuration for related stuff, like X-wm's or DE's whose settings don't interfere with each other. If one has to make config for something like wayland then make another folder for it, and enable it in flake.nix Now you can just switch between these two using home-manager switch
Instead of changing font size or xcursor size use, dpi settings which will help to keep it global, in a way that you can use the same configuration on small screens and large screens.
The modules folder contain stuff related to "installation of wm's or de's", their particular configs will be made in folder of "yuki" if they can exist with same configuration like you can enable picom for both awesomewm and bspwm, those things go to folders like "yuki". The modules folder will do the installation job of wm's and de's, their particular system config, like overlays and stuff, in a way that all configs can be enabled together and it does not affect the other. Ex : Do's - install packages, duplicate packages can be declared, Dont's - enable multiple display manager.
My hardware-configuration file is very universal as it uses variable names for disks so can be used without changing anything. If will only need to change when using very particular hardware that needs some modules and stuff to enabled.
Update files in hosts/"system name". Eg. "acer", It is my main system so If I have another secondary system I will just make new host like "secsystem" and update flake, If I have to shift to a new main system I will just update the "acer" folder files.
sudo nixos-rebuild switch --flake .#hostName
If I have flake.nix file in a seperate directory, say ".setup", then
sudo nixos-rebuild switch --flake .setup#hostName
I use .setup and so the same is configured in my bash.nix file. If you want your own folder name then also change the name in bash.nix.
nix shell nixpkgs#packageName
nix-collect-garbage -d
sudo nix-collect-garbage -d
Git PAT
git remote set-url origin https://<TOKEN>@github.com/<USERNAME>/<REPOSITORYNAME>.git
Neofetch bug: wallpaper image not changing.
neofetch --clean
nix develop directly in neovim figsoda/nix-develop
:NixDevelop ~/path_to_flake_config
( ͡❛ ‿‿ ͡❛)