The old Arch config at Arch branch.
For a lone time I'm seeking for a solution to manage my OS config, The Arch branch is a way that I manage my home config, but that's not enough, NixOS provided capability to manage system wide config, or even more, with Flake I can manage configuration of multiple system.
Repo's structure base on nix-starter-config#standard
The ags config base on Aylur/dotfiles, with these different:
:cp
when launcher activeAlmost as same as Aylur/dotfiles (except asusctl) with these additional pkg:
[!NOTE] The part of nixos configuration has many custom settings that may not suitable for you machine, use it directly maybe damage your system. Please always check the code before you use it.
For NixOS users:
Replace hardware-configuration.nix with your own, and change the username variable, you may also need remove this line from nixos hardware or replace it with your hardware model. Then execute in local repo path:
$ sudo nixos-rebuild switch --flake .#nixos
$ home-manager switch --flake .#wenjin@nixos
Also you may need to unset some substituters if download speed to slow.
For other distributions, things under xdg could directly put on xdg base dir (e.g. you should put the file under xdg/config
to $XDG_CONFIG_HOME).