Skip to content

uesyn/dotfiles

Repository files navigation

dotfiles

my dotfiles

How to use

Standalone home-manager

# Install nix
$ curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm

# Add nix-community cache
$ nix run nixpkgs#cachix -- use nix-community
$ nix run home-manager -- switch --flake github:uesyn/dotfiles --impure -b backup --refresh

for debug

$ git clone https://github.com/uesyn/dotfiles.git
$ cd ./dotfiles
$ nix run home-manager -- switch --flake . --impure -b backup --refresh

NixOS on WSL2

After Installation of NixOS on WSL2, run below commands.

$ nix-shell -p git
$ sudo nixos-rebuild switch --flake github:uesyn/dotfiles#wsl2 --refresh

for debug

$ nix-shell -p git
$ git clone https://github.com/uesyn/dotfiles
$ cd dotfiles
$ sudo nixos-rebuild switch --flake .#wsl2

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages