My dotfiles for NixOS
-
Modify
/etc/nixos/configuration.nix
programs = { + git.enable = true; }; + nix.settings.experimental-features = ["nix-command" "flakes"];
-
Run
sudo nixos-rebuild switch
-
Clone this repository and move it
-
Run
nix develop
-
Run
switch-nixos {name}
(orsudo nixos-rebuild switch --flake .#{name}
)
Name:virtbox
maindesk
bridgetop
-
Runnix run nixpkgs#home-manager -- switch --flake .#{name}
(switch-home {name}
)This method no longer needed, but settings still here to configure darwin system in the future.
-
Reboot
My environement log(JP):
https://zenn.dev/watagame/scraps/e64841d674d16e